mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 08:25:57 +00:00
Refactor dev inventory: Add dev301 and dev302 hosts
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- name: Upgrade everything on the cluster.
|
||||
hosts: test
|
||||
hosts: prod
|
||||
become: true
|
||||
tasks:
|
||||
- name: Upgrade all software.
|
||||
@@ -13,7 +13,8 @@
|
||||
register: reboot_required_file
|
||||
|
||||
- name: Reboot the server (if required).
|
||||
reboot:
|
||||
debug:
|
||||
msg: "Ansible Version: {{ reboot_required_file.stdout }}"
|
||||
when: reboot_required_file.stat.exists == true
|
||||
|
||||
- name: Remove dependencies that are no longer required.
|
||||
|
||||
Reference in New Issue
Block a user