Fix sudo/become deprecation warnings
become is the keyword to use forward instead of sudo. Change-Id: I1e29e3c37337ba999b2e8a970b688e4ec11ea579
This commit is contained in:
parent
b022c4d1e4
commit
78d572d99e
@ -3,6 +3,6 @@
|
||||
- hosts: meta-infra_type_gerrit
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: bootstrap_gerrit }
|
||||
|
@ -2,6 +2,6 @@
|
||||
- hosts: meta-infra_type_jenkins
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: bootstrap_jjb }
|
||||
|
@ -2,6 +2,6 @@
|
||||
# file: bootstrap_puppet_infra_nodes.yml
|
||||
- hosts: infra:!meta-infra_type_puppetmaster
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: bootstrap_puppet_infra_node }
|
||||
|
@ -3,6 +3,6 @@
|
||||
- hosts: meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: bootstrap_puppetmaster }
|
||||
|
@ -3,6 +3,6 @@
|
||||
- hosts: infra
|
||||
gather_facts: yes
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: common }
|
||||
|
@ -2,7 +2,7 @@
|
||||
- hosts: meta-infra_type_gerrit
|
||||
user: ubuntu
|
||||
gather_facts: no
|
||||
sudo: true
|
||||
become: true
|
||||
name: Run Puppet to install Gerrit
|
||||
tasks:
|
||||
- puppet:
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- hosts: meta-infra_type_jenkins
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
name: Run Puppet to install Jenkins
|
||||
tasks:
|
||||
- puppet:
|
||||
|
@ -2,7 +2,7 @@
|
||||
- hosts: meta-infra_type_zuul
|
||||
user: ubuntu
|
||||
gather_facts: no
|
||||
sudo: true
|
||||
become: true
|
||||
name: Run Puppet to install Zuul
|
||||
tasks:
|
||||
- puppet:
|
||||
|
@ -3,6 +3,6 @@
|
||||
- hosts: infra
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
become: true
|
||||
roles:
|
||||
- { role: set_hostnames }
|
||||
|
Loading…
Reference in New Issue
Block a user