Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
82 views

I upgraded python and ansible on an env after which started getting error "/bin/sh: /bin/env python: No such file or directory" in ansible-playbook execution, below are the upgraded versions ...
pmann's user avatar
  • 789
0 votes
2 answers
997 views

When installing ansible-dev-tools into venv with python -m venv .venv source .venv/bin/activate pip install ansible-dev-tools All the provided executables are located at .venv/bin and are executable ...
MaKaNu's user avatar
  • 1,108
1 vote
0 answers
263 views

I have the following ansible file: --- - hosts: all roles: - exclude_duplicates tasks: - name: Update apt repo and cache on all Debian/Ubuntu boxes apt: update_cache=yes ...
0 votes
0 answers
40 views

I have cloned the repository in $HOME using git clone --depth=1 https://github.com/gauravpathak/zynq-zc706-buildroot-webserver.git I have this directory structure of files for one ansible playbook: . ├...
-1 votes
1 answer
67 views

I'm creating some Custom Modules to help with setting up conan. I've got a conan_remote_facts module which gets some facts about the current conan setup and I'm working on a corresponding conan_remote ...
0 votes
3 answers
63 views

I'm trying to execute a shell script on a localhost using Ansible and display the output of the script. I've registered the output of the command using the shell module and stored it in the result ...
0 votes
1 answer
95 views

Is it possible to selectively redirect some of the console logs to file? E.g., - name: "Installing service1" // This msg should go to CONSOLE and file. host: localhost tasks: - ...
Arjun's user avatar
  • 6,837
1 vote
1 answer
47 views

I have the following structure: |- group_vars/ |- local/ |- local.yml |- roles/ |- myrole/ |- vars/ |- main.yml groups_vars/local/local.yml: myvar: <FIXME> roles/...
1 vote
0 answers
119 views

I have a very simple Python script to run an Ansible playbook (A post call to get an access token from the OAuth2 authorization server and save it in a .txt file). I have secrets stored in ansible-...
0 votes
1 answer
76 views

I try to pass a json to the module uri to make an API call. If I put the full json in the body parameter, it works well: body_format: json body: authorization_enabled: true ...
azer's user avatar
  • 1
2 votes
1 answer
80 views

I'm trying to write a role that finds difference between records in DN servers and records in Git. Some of them were added manually via Web interface. For that purpose in my Ansible playbook I ...
0 votes
1 answer
270 views

I created an ansible collection with 2 roles for deploy node_explorer and configure firewall. I'm on ansible 2.12 This is the root directory in the gitlab repository where it's stock (generate with ...
1 vote
1 answer
328 views

I'm new to the automation world and I'm stuck trying to figure out how I can automate and maintain Nginx conf files for the vhost I manage using Ansible. For example, normally I would create a conf ...
0 votes
1 answer
137 views

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 ...
Maikol's user avatar
  • 357
2 votes
1 answer
64 views

I am working on an Ansible playbook for iOS flash files backup, which shows the flash: of a Cisco router and tries to pick all the filenames from the multiline string into a list. Later it will create ...

15 30 50 per page
1
2 3 4 5
...
125

AltStyle によって変換されたページ (->オリジナル) /