Ansible: How to run a role on a host dynamically determined at runtime
I’m looking to migrate app config from one host to another. The tasks to be ran on either host differ significantly that they warrant their own roles. Ideally, I’m looking for the target host to be determined dynamically from a web call rather than supplied to the playbook.
Select specific key value from the output/results array
I want to select a specific key from the output/results array but I’m having difficulties, I’ve already checked this post but I was unable to adapt it to my playbook:
Ansible – Select specific key value from the output/results array
I want to select a specific key from the output/results array but I’m having difficulties, I’ve already checked this post but I was unable to adapt it to my playbook:
Ansible check if service is running
I have a need to execute things in Ansible 2.9 task based on a fact if service is started or not.
The included role loads variables from the parent folder
I have the following playbook and role:
Create a list of dictionaries from a list of strings
I’m attempting to pass a list of dictionaries to an Ansible role that expects a variable defined per the below.
Ansible Create List of Dict From List of Strings
I’m attempting to pass a list of dict to an Ansible role that expects a variable defined per the below.
Ansible – create archive with extra options
I’m trying to use Archive module in Ansible but have extra flags I need to use, specifically for tar.
In ansible, how to wait till the host is unreachable and then ignore it to continue to the next task that waits until the host is reachable again?
The requirement is to have a playbook that performs Software upgrade of a node. The node gets rebooted during the upgrade process.
ansible playbook that waits till the host is unreachable and then ignores it to continue to the next task that waits until the host is reachable again
The requirement is to have a playbook that performs Software upgrade of a node. The node gets rebooted during the upgrade process.