More tab unification

This commit is contained in:
Salt 2020-07-08 04:51:45 -05:00
parent afd74edc65
commit 75d47c0f08

View File

@ -3,32 +3,32 @@
---
- name: Set up Ansible
block:
- name: Install Ansible-required packages via apt
apt:
name: "{{ packages }}"
vars:
packages:
- python3-pip
- python3-boto
- python3-boto3
- python3-botocore
- python3-setuptools
become: true
- name: Install Ansible-required packages via pip
pip:
name: "{{ packages }}"
state: latest
vars:
packages:
- ansible
- name: Assure root .ssh directory
file:
path: ~/.ssh
state: directory
mode: "0600"
- name: Copy Ansible private key
copy:
src: ansiblekey
dest: ~/.ssh/ansible
mode: "0600"
- name: Install Ansible-required packages via apt
apt:
name: "{{ packages }}"
vars:
packages:
- python3-pip
- python3-boto
- python3-boto3
- python3-botocore
- python3-setuptools
become: true
- name: Install Ansible-required packages via pip
pip:
name: "{{ packages }}"
state: latest
vars:
packages:
- ansible
- name: Assure root .ssh directory
file:
path: ~/.ssh
state: directory
mode: "0600"
- name: Copy Ansible private key
copy:
src: ansiblekey
dest: ~/.ssh/ansible
mode: "0600"
become: true