Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Ansible

0 votes
643 views
1 answer
    Here to discuss the ansible behavior when user at managed nodes is given sudo privileges to specific commands. I have ... the group I am in. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
780 views
1 answer
    I have the following directory and it has the following files: /tmp/test/file1.txt /tmp/test/file1.txt.backup ... to just remove file1* files? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
750 views
1 answer
    I have a register task to test for the installation of a package: tasks: - name: test for nginx command: dpkg ... Homepage: http://nginx.net"} See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I would like to use the following task in a playbook: - include: "{{ prerequisites_file }}" with_first_found ... to with_first_found clause... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am running myserver in ubuntu: + sudo cat /etc/os-release NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial ... No module named docker" in ansible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am running myserver in ubuntu: + sudo cat /etc/os-release NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial ... No module named docker" in ansible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
803 views
1 answer
    I merged two lists from an Ansible inventory: set_fact: fact1: "{{ groups['group1'] + groups[group2']|list }} ... . How can I achieve my goal? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
839 views
1 answer
    I'm sitting in front of a fairly complex Ansible project that we're using to set up our local development ... wondering, if that would exist. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
906 views
1 answer
    What is the difference between vars_files directive and include_vars module Which should be used when, is any of above deprecated, discouraged? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
743 views
1 answer
    I'm sitting in front of a fairly complex Ansible project that we're using to set up our local development ... wondering, if that would exist. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
738 views
1 answer
    What is the difference between vars_files directive and include_vars module Which should be used when, is any of above deprecated, discouraged? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    I want to abort execution of remaining task if certain condition is failed. and display proper error message. So ... this . Please suggest me. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
758 views
1 answer
    I'm working on a role that only needs to gather a single fact. Performance it's a concern ... also another useful variable inventory_hostname. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    I'm trying to run ansible role on multiple servers, but i get an error: fatal: [192.168.0.10]: ... ansible_ssh_user, but it did'nt help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
690 views
1 answer
    I'm running Ansible playbook and it works fine on one machine. On a new machine when I try for the ... source machine for the target machine? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
510 views
1 answer
    My use case is the following : I have a template file, and I would like to create 2 different files from that ... the second, b = "File2". See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
507 views
1 answer
    I ran into a configuration problem when coding an Ansible playbook for SSH private key files. In static Ansible ... in the same inventory? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
575 views
1 answer
    I am using Ansible to deploy a Django website into my servers (production, staging, etc), and I would like ... help will be much appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
855 views
1 answer
    take this playbook for example: --- - hosts: localhost gather_facts: no vars: in_list: - value1 - value2 ... EEST [root@optima-ansible ILIAS]# See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
546 views
1 answer
    I have two playbooks which are launched against a remote host (10.233.84.58). When launched standalone ( ... different from a standalone one? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
850 views
1 answer
    I am trying to start filebeat (or for that matter any other process which will run continuously on demand) process on ... and comes out. poll: 0 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I'm new to Ansible. Below is the small snippet of the playbook which I am trying to play but facing ... found on stackoverflow but no success. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...