Ongoing baseline establishment work

Create provision playbook with modular platform-interop framework
Implement first version of update-system playbook
Implement var organization
Implement basic structure of inventory file
This commit is contained in:
Ethan N. Paul
2018-11-27 01:30:55 -05:00
parent ba4ce45f96
commit 2901a1685d
13 changed files with 242 additions and 124 deletions

View File

@@ -0,0 +1,24 @@
---
- hosts: all
name: Upgrade packages
tasks:
- name: Upgrade YUM packages
when: ansible_distribution == "CentOS"
become: true
yum:
state: latest
name: *
exclude: kernel*{{ ',' + exclude_upgrade | default('') }}
- name: Upgrade DNF packages
when: ansible_distribution == "Fedora"
become: true
dnf:
state: latest
name: *
exclude: kernel*{{ ',' + exclude_upgrade | default('') }}
# - name: Upgrade APT packages
# when: ansible_distribution == "Debian" or ansible_distribution == "Ubuntu"
# become: true
# apt: