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
|
||||
roles:
|
||||
- common
|
||||
- hosts: tag_role_ansiblehost
|
||||
- hosts: tag_userlogon_true
|
||||
roles:
|
||||
- user
|
||||
- hosts: tag_ansiblehost_true
|
||||
roles:
|
||||
- ansiblehost
|
||||
|
@ -6,10 +6,10 @@
|
||||
name: "{{ packages }}"
|
||||
vars:
|
||||
packages:
|
||||
- python-pip
|
||||
- python-boto
|
||||
- python-boto3
|
||||
- python-botocore
|
||||
- python3-pip
|
||||
- python3-boto
|
||||
- python3-boto3
|
||||
- python3-botocore
|
||||
become: true
|
||||
- name: Install Ansible-required packages via pip
|
||||
pip:
|
||||
|
Loading…
Reference in New Issue
Block a user