Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmoulliard/3478af983342c2e53034c5679df03de3 to your computer and use it in GitHub Desktop.
Save cmoulliard/3478af983342c2e53034c5679df03de3 to your computer and use it in GitHub Desktop.
TASK [redhat.jcliff.jcliff : Collect Supported Operating Systems] ******************************************************************************************************************************************************************
task path: /Users/cmoullia/.ansible/collections/ansible_collections/redhat/jcliff/roles/jcliff/tasks/main.yml:3
ok: [localhost] => (item={'key': 'rpm', 'value': ['Fedora', 'CentOS', 'RedHat']}) => {
"ansible_facts": {
"jcliff_install_supported_os": [
"Fedora",
"CentOS",
"RedHat"
]
},
"ansible_loop_var": "item",
"changed": false,
"item": {
"key": "rpm",
"value": [
"Fedora",
"CentOS",
"RedHat"
]
}
}
ok: [localhost] => (item={'key': 'homebrew', 'value': ['MacOSX']}) => {
"ansible_facts": {
"jcliff_install_supported_os": [
"Fedora",
"CentOS",
"RedHat",
"MacOSX"
]
},
"ansible_loop_var": "item",
"changed": false,
"item": {
"key": "homebrew",
"value": [
"MacOSX"
]
}
}
TASK [redhat.jcliff.jcliff : Verify supported Operating Systems] *******************************************************************************************************************************************************************
task path: /Users/cmoullia/.ansible/collections/ansible_collections/redhat/jcliff/roles/jcliff/tasks/main.yml:11
fatal: [localhost]: FAILED! => {
"assertion": "ansible_distribution is not undefined",
"changed": false,
"evaluated_to": false,
"msg": "Unsppoorted Operating system for package installation"
}
PLAY RECAP *************************************************************************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment