Questions tagged [Ansible] (113)

1
answer

How to iterate through a variable inventary?

Hello Recall. how to iterate through a variable inventories? right now doing so here in such inventories {% for host in groups['all'] %} - targets: ['{{ host }}:9273'] labels: stage_name: "{{ host }}" [linux servers] awesome1 ansible_host=8.8.8.8 ansible_private_ip=10.0.0.0 awesome2 ansible_host=8.8.8.8 ansible_private_i...
Nolan.Schumm asked April 19th 20 at 12:44
1
answer

How to use ansible ad-hoc with AWS EC2 by Name Daegu?

I'd like to know Please explain how to configure ansible to work with the ec2 tag. Rantle these were used to do the Dynamic Inventory script ec2.py. Which recently deprecated. And at the moment, somehow the plugin is used aws_ec2. IMHO: info on how to poluchaetsja this plugin in ofdate no. Googled until I found an article ...
Daniela.Homenick91 asked April 19th 20 at 12:44
1
answer

How to pass a private IP from ansible openstack_inventory.py?

There is openstack. The tenant/project 1 WM. If you run ansible c inventory of openstack_inventory.py you will get the error: ansible -i openstack_inventory.py --private --list all-m ping [ERROR]: 985191f9-e828-424b-b9c5-8805304b205f | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh...
Norene asked April 19th 20 at 12:19
2
answers

Ansible: can I use it to install the add-on Chromium?

There are many machines operating in kiosk mode. Install OS and automated software (the OS via PXE, software via Ansible), but the add-on Chromium while it is necessary to put hands. Need to automate the installation of add-ons Rescroller and Virtual Keyboard on Chromium. And not just to install but also to adjust (add Russ...
Bertram_Durgan asked April 8th 20 at 10:10
1
answer

As in Ansible to remove the bugs when outputting to stdout?

Do playback for windows activation via local kms. One of the tasks - getting information from the command line on the installed license: - name: Information about license win_command: cscript {{ ansible_env.windir }}\System32\slmgr.vbs-dlv register: info_out - debug: var: info_out.stdout_lines Unfortunately displays g...
abe4 asked April 8th 20 at 09:16
1
answer

How to configure access through the bastion to the server?

Hello! Try to configure as the documentation for Ansible bastion, run Ping on your server, but tcpdump on the server can't catch the packets from the bastion, he needs to go and not on my local machine. Can anyone share a working configuration? What I did not set up((
kasey.Stiedema asked April 8th 20 at 03:03
1
answer

Why kubernetes creates so many pod's?

After a peal of kubenretes Ansible role creates extra pods, they are for something you need or role somehow not so fulfills? root@ubuntu-1804-template:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 010f9df2705e 418fed0a0d62 "kube-controller-man..." 34 minutes ago Up 34 minutes k8s_kube-controller-mana...
dorothea.Johnson asked April 8th 20 at 02:52
2
answers

It is possible to deploy the server via another using Ansible?

Hello! prompt, perhaps using Ansible to deploy a server through another server that is not running Ansible. Now I do so: connect to the 1st server, there unfold the environment and run the Ansible playbook to deploy it on 2nd server. Read about ssh-agent, but can someone clarify perhaps with his help to do it. Thank you.
Hailey.Davis13 asked April 8th 20 at 02:35
1
answer

What package is the best way to implement secure cryptographic directory in Linux using Ansible?

Hello! Prompt, with what package it is best to implement secure cryptographic directory in Linux using Ansible. You need to create Ansible role to create a secure directory. Thank you
antonia asked April 8th 20 at 02:08
1
answer

What is the format of the parameter in Question expect Ansible module?

Hi all. Tell me how to interactively answer the question, where you have to press the Enter button. And in what format prescribed response1.... I tried: "y", y thought if Enter pressed then you need to pass "". The documentation for a Module: - name: Generic question with multiple different responses expect: command: /p...
Kendall30 asked April 8th 20 at 01:57