diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-04-25 14:06:38 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-04-25 15:25:08 -0400 |
commit | a5386b0f51a2b20f0b5c382663bb5827438da437 (patch) | |
tree | edd2459e6075867d8ccb13fc795bc00f076036ce /playbooks/adhoc | |
parent | 12c2d75d84f76ddd806bffa4e3e4acc0c2f24f95 (diff) | |
download | openshift-a5386b0f51a2b20f0b5c382663bb5827438da437.tar.gz openshift-a5386b0f51a2b20f0b5c382663bb5827438da437.tar.bz2 openshift-a5386b0f51a2b20f0b5c382663bb5827438da437.tar.xz openshift-a5386b0f51a2b20f0b5c382663bb5827438da437.zip |
Replace deprecated sudo with become.
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r-- | playbooks/adhoc/atomic_openshift_tutorial_reset.yml | 2 | ||||
-rw-r--r-- | playbooks/adhoc/setupnfs.yml | 2 | ||||
-rw-r--r-- | playbooks/adhoc/uninstall.yml | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml index c14d08e87..5a5a00ea4 100644 --- a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml +++ b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml @@ -8,7 +8,7 @@ - hosts: - OSEv3:children - sudo: yes + become: yes tasks: - shell: docker ps -a -q | xargs docker stop diff --git a/playbooks/adhoc/setupnfs.yml b/playbooks/adhoc/setupnfs.yml index 5f3631fcf..fd489dc70 100644 --- a/playbooks/adhoc/setupnfs.yml +++ b/playbooks/adhoc/setupnfs.yml @@ -1,7 +1,7 @@ --- ### This playbook is old and we are currently not using NFS. - hosts: tag_Name_nfs-v3-stg - sudo: no + become: no remote_user: root gather_facts: no roles: diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index b9c2a2714..0755d8bc5 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -10,7 +10,7 @@ - hosts: - OSEv3:children - sudo: yes + become: yes tasks: - name: Detecting Operating System @@ -243,7 +243,7 @@ command: systemctl daemon-reload - hosts: nodes - sudo: yes + become: yes tasks: - name: restart docker service: name=docker state=restarted |