Split userlogon and ansible role tasks, switch apt packages to python3
This commit is contained in:
parent
cb3d94db94
commit
1d3369fcb0
@ -4,7 +4,9 @@
|
|||||||
- hosts: ec2
|
- hosts: ec2
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
- hosts: tag_role_ansiblehost
|
- hosts: tag_userlogon_true
|
||||||
roles:
|
roles:
|
||||||
- user
|
- user
|
||||||
|
- hosts: tag_ansiblehost_true
|
||||||
|
roles:
|
||||||
- ansiblehost
|
- ansiblehost
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- python-pip
|
- python3-pip
|
||||||
- python-boto
|
- python3-boto
|
||||||
- python-boto3
|
- python3-boto3
|
||||||
- python-botocore
|
- python3-botocore
|
||||||
become: true
|
become: true
|
||||||
- name: Install Ansible-required packages via pip
|
- name: Install Ansible-required packages via pip
|
||||||
pip:
|
pip:
|
||||||
|
Loading…
Reference in New Issue
Block a user