Split userlogon and ansible role tasks, switch apt packages to python3

This commit is contained in:
Salt 2019-09-15 01:38:16 -05:00
parent cb3d94db94
commit 1d3369fcb0
2 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,9 @@
- hosts: ec2
roles:
- common
- hosts: tag_role_ansiblehost
- hosts: tag_userlogon_true
roles:
- user
- hosts: tag_ansiblehost_true
roles:
- ansiblehost

View File

@ -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: