Skip to content

Commit e878a5a

Browse files
author
Mike Edwards
committed
Adding the initial playbooks.
1 parent f2c33c9 commit e878a5a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

configs/libcxx-ansible/playbooks/playbook_libcxx_deploy.yaml

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
- hosts: all
3+
gather_facts: yes
4+
roles:
5+
- role: roles/hardware_facts
6+
tasks:
7+
- name: Facts
8+
setup:
9+
- name: "Simple Remote Inventory"
10+
debug:
11+
msg: "{{ansible_facts['nodename']}}: {{ ansible_local.macos.machine_model }} ({{ ansible_local.macos.hw_codename }}) {{ ansible_local.macos.sw_vers }}"
12+
- name: Generate Ansible-cmdb Info
13+
ansible.builtin.template: src=files/inventory dest="out/{{inventory_hostname}}"
14+
delegate_to: localhost

0 commit comments

Comments
 (0)