New answers tagged

1 vote
Accepted

Conflicts while building AWX-EE custom image

nutanix.ncp creates conflicts cause it's the only collection I use that specify python module version requests~=2.26.0 I finally create a new AWX-EE custom image without nutanix.ncp in requirements....
motorbass's user avatar
  • 113
0 votes
Accepted

Creating a cmd task with all the private ip address details collected from gather_facts

Q: "Run a set_facts command which will get private ip from each host." A: You can either run a command, for example, - shell: 'ifconfig em0 | grep inet | cut -w -f3' register: out and ...
Vladimir Botka's user avatar
0 votes

Applying ansible playbook to a docker container on a remote host

I have achieved the same goal but a bit more securely, by forwarding the unix socket (but not a tcp socket). However it is a bit convoluted. The following example contains everything from starting an ...
BenjaminH's user avatar
  • 101
1 vote

Using a different Python version in AWX

AWX is running in a docker container, isn't it? If you make a venv on your ansible controller with python3.9 it still won't be functional. To get this to work, you will have to add your actual host (...
Peter Turner's user avatar
  • 1,376
0 votes

ansible_become has no effect despite the ability to execute sudo on GCP hosts

Running ansible with -vvv will tell you which ansible config you're using For instance me@mycomputer:~$ ansible -vvv -m setup localhost ansible 2.10.8 config file = None shows that I'm not using ...
Peter Turner's user avatar
  • 1,376
0 votes

How to test production Ansible execution without having to provision target

This would be a good case for doing a blue-green deployment, it's twice the cost , but half the hassle of having to deploy into production. Plus you get near instant backups. If you can't trust what ...
Peter Turner's user avatar
  • 1,376
1 vote

Use an asymmetric cypher to secure Ansible vault

Another solution, which would allow you to accomplish the same goals, would be to encrypt your facts files with Mozilla SOPS. SOPS does a good job of just encrypting parts of the files that you want ...
Peter Turner's user avatar
  • 1,376

Top 50 recent answers are included