OPS-1593 As an operator, I want sudo_user converted to become user in roles and…

OPS-1593 As an operator, I want sudo_user converted to become user in roles and plays, for compatibility with Ansible 2.x
parent 16eeda55
......@@ -2,6 +2,6 @@
- name: Configure instance(s)
hosts: all
sudo: True
become: True
roles:
- jenkins_analytics
......@@ -6,7 +6,7 @@
- name: Configure instance(s)
hosts: all
sudo: True
become: True
gather_facts: True
vars:
migrate_db: "yes"
......
......@@ -2,7 +2,7 @@
- name: Install go-agent-docker-server
hosts: all
sudo: True
become: True
gather_facts: True
roles:
- aws
......
......@@ -2,7 +2,7 @@
- name: Install go-agent
hosts: all
sudo: True
become: True
gather_facts: True
roles:
- aws
......
......@@ -4,7 +4,7 @@
- name: Install go-server
hosts: all
sudo: True
become: True
gather_facts: True
roles:
- aws
......
......@@ -3,7 +3,7 @@
# analyzing logs.
- name: Configure syslog server
hosts: all
sudo: yes
become: True
roles:
- common
- oraclejdk
......
......@@ -4,7 +4,7 @@
# ansible-playbook ./run_role.yml -i "hostname," -e role=my_awesome_role
#
- hosts: all
sudo: True
become: True
gather_facts: True
roles:
- "{{role}}"
- name: Apply security role
hosts: all
sudo: yes
become: True
roles:
- security
- name: Configure instance(s)
hosts: all
sudo: True
become: True
gather_facts: True
vars:
migrate_db: 'yes'
......
- name: Configure group cluster
hosts: all
sudo: True
become: True
gather_facts: True
vars:
vagrant_cluster: yes
......
- name: Configure instance(s)
hosts: all
sudo: True
become: True
gather_facts: True
vars:
migrate_db: 'yes'
......
- name: Configure instance(s)
hosts: all
sudo: True
become: True
gather_facts: True
vars:
migrate_db: 'yes'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment