summaryrefslogtreecommitdiffstats
path: root/roles/distgit
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-11-01 16:29:49 +0000
committerKevin Fenzi <kevin@scrye.com>2016-11-01 16:29:49 +0000
commitb1a2d105c9727e9713ec0b00c1b04fcac77fcddc (patch)
treedf88db8f22498635499b75bc1db895a6921db712 /roles/distgit
parent1fe7e9264d2e7fdc45e97060dc04d9e5867a50e3 (diff)
In ansible 2.2 always_run is depreciated. Switch to check_mode.
Diffstat (limited to 'roles/distgit')
-rw-r--r--roles/distgit/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml
index b72f8a7d7..ae1183433 100644
--- a/roles/distgit/tasks/main.yml
+++ b/roles/distgit/tasks/main.yml
@@ -74,7 +74,7 @@
- name: check the selinux context of the distgit root directory
command: matchpathcon /srv/git
register: distgitcontext
- always_run: yes
+ check_mode: no
changed_when: false
tags:
- config
@@ -269,7 +269,7 @@
- name: Get admin users
command: "/srv/web/infra/ansible/scripts/users-from-fas @sysadmin-main {{ admin_groups }}"
register: admin_user_list
- always_run: True
+ check_mode: no
changed_when: "1 != 1"
run_once: True
delegate_to: localhost
@@ -366,7 +366,7 @@
- name: check the selinux context of the Lookaside Cache root directory
command: matchpathcon /srv/cache
register: lcachecontext
- always_run: yes
+ check_mode: no
changed_when: false
tags:
- config
@@ -436,7 +436,7 @@
- name: check the selinux context of the upload CGI script
command: matchpathcon /srv/web/upload.cgi
register: upcgicontext
- always_run: yes
+ check_mode: no
changed_when: false
tags:
- config