I'm trying to set up an NFS share between two nodes using Ansible. I'm using the role nfs, which is executed by both nodes, and I separated client and ...
I'm trying to set up an NFS share between two nodes using Ansible. I'm using the role nfs, which is executed by both nodes, and I separated client and ...
having an ansible playbook that will run on all hosts including Debian based & RedHat based servers this will install mariadb on RHEL based server ...
I'm quite new to ansible and I have been working on writing an ansible role to automate the incremental upgrade process for Jenkins. Part of this proc ...
Consider the following (reduced for brevity) playbook with a block and rescue block - name: deploy block block: - name: debug meta debug: var ...
Playbook runs fine but debug msg module throws undefined variable error. code in image for clear understanding ...
Hello working on a ansible script to create a ssh user and on the first login to be forced to changed the password. The idea is ok, but seems like han ...
I need to collect some information during run of ansible and print this information in the end. I've tried to define empty list variable in role. I ...
Ansible Version: ansible 2.4.2.0 I want to start VM sequentially depends on the role(master/backup). Multiple VM IDs are stored in 2 files master &am ...
I am trying to automate some tasks using Ansible. In my playbooks, I have a copy task and then i change the permissions of the file. I need the servic ...
I want to (step1) change postgresql configuration file, (step2) restart service and then (step3) add db user. ../roles/postgres/tasks/main.yml ../ ...
I'm adding JAVA_OPTS as environment variables through ansible for multiple applications, and I want to restart an application if JAVA_OPTS changed. W ...
Let's assume I have the next simple Ansible playbook: As you see, I upgrade installed APT packages first and only then make sure I have the latest ...
I have an Ansible playbook to install a variable number of applications in a group of servers. To install the applications, a number of sequential tas ...
I have a role which configures /etc/network/interfaces.d/ethX. It has handler 'restart interface' which is called through notifications. But there ar ...
I have an apache playbook which needs to run on centos 7 and centos 6. I want the handler triggered based on distribution major version. I have a hand ...
I have an Ansible role which has the following tasks: Namely, when create goss directories is run, it triggers the clean handler: Due to the nat ...
I'm not sure what I'm missing here. Ansible 2.1.2.0 Python 2.7.5 CentOS Linux release 7.2.1511 (Core) Playbook file looks like: Role's (netda ...
I would like to run a handler only once in an entire playbook. I attempted using an include statement in the following in the playbook file, but this ...
Does ansible pass Role Default variables to the Handlers within the same Role? Here's a minimal excerpt of the playbook that has the issue: Role hie ...
I have a playbook which should configure on specified IP, and than connect to this app to configure stuff inside. I've got a problem: I need to resta ...