i've been trying to use ec2 image builder to harden a windows image using winrm and ansible playbooks that contain the scripts to my hardening. Since windows do
Recently I used 'user' module to create user with password provided in vars/main.yml - name: Create pamuser user: name: pamuser password: "{{ pamuser
I'm working on an Ansible playbook that uses a when condition, and I was trying to test the scenario where there is a default value specified as a play variable
I am probably missing something simple. I have the dictionary in vars.yml deploy_env: dev: schemas: year1: - main - custom ye
I am trying to run below task but it gives error. - name: Check if Schema exist shell: "psql -h {{ dbserver }} -U {{ dbuser } {{ dbname }} -c '\dt' | grep -
I am creating a pipeline which is automatically triggered when I push my code on gitlab.com. The project is about the provisioning of a machine. Here my .gitla
I am using AWX with the combination of CMDB inventory and many groups are defined there . i.e. from set_A to set_Z and blah blah blah I am calling many groups i
- hosts: localhost vars: files_list: #it may contain the file_list like #file_list: # - "file*" tasks:
I have the following data structure: site_subnets: control: { network: "100.99.97.0/24", mtu: "1500", vm_start_offset: 0, dhcp_from_ip: "30", dhcp_to_ip: "5
My ansible code looks like this: --- - name: Install python apt: pkg: "{{ item }}" update-cache: yes state: latest with_items: - python
I'm automating the process of starting eNodeB and then attaching a UE to it. Here is the connection diagram I have created a nested playbook which consists for
I've been trying a lot of lineinfile and replace examples but i can't get it to work. I have the following lines: deb-src http://httpredir.debian.org/debian b
I am using ansible vault to encrypt the password, but when I am using debug mode it shows the password as plain text. Consider below code Generate ansible-vaul
I'm using Ansible 2.8.4-1.el7 in order to automate some tasks. Since I'm starting learning the tool, I'm going through the official documentation most of the ti
I can't setup inventory which will be easy and useful in yml format for Ansible Playbook :( For example: all: children: db: children: produc
I'm new at Ansible and YAML syntax and I'm facing a simple issue: how to iterate over two lists, with the same index? Something like that: int[] listOne; int
I have endless kafka servers to configure, their ids must be different from each other. Configuration must be done through jinja templating. Their broker.id fi
I want to create a dictionary in ansible from a list; using some variables for the value in the key-value pair of the dictionary, but it seems to be not working
How can I trigger a job in Ansible Tower using its API on a Github branch commit? I could use a Github webhook but when triggered by a push it occurs regardle
This is a very simple Ansible playbook I run from AWX to get information about hosts, and it works as intended on Linux machines: --- - name: Get some info d