https://github.com/larsks/irc-example-ansible-lars
https://github.com/larsks/irc-example-ansible-lars
example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/larsks/irc-example-ansible-lars
- Owner: larsks
- Created: 2022-03-17T11:57:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-17T12:00:22.000Z (almost 4 years ago)
- Last Synced: 2025-10-28T15:54:16.849Z (3 months ago)
- Topics: example
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Run it like this:
```
ansible-playbook playbook.yaml -i hosts.yaml
```
Expected output:
```
PLAY [all] *********************************************************************
TASK [debug] *******************************************************************
ok: [node0] => {
"firewall_rules": [
"allow icmp",
"allow port 22",
"allow port 80",
"allow port 443"
]
}
ok: [node1] => {
"firewall_rules": [
"allow icmp",
"allow port 22",
"allow port 3306"
]
}
PLAY RECAP *********************************************************************
node0 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
node1 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
```