I just updated CentOS 7 to the latest and now am getting this any playbook
I try to run.
[andrew@automation01 installer]$ ansible-playbook -i inventory install.yml -
vv
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 32, in
from ansible import context
If you're ok with Ansible generating the password for you then storing it
on the machine you ran the playbook from, then the `password` plugin might
help a bit.
Assuming you have an inventory of servers and you're OK with saving the
latest password to "/tmp/root.password.hostname.txt", I
how can i create a directory in shared/network path in windows using ansible
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On 17.09.2019 17:35, Uppara venkat wrote:
> but I'm working in Windows;
> I used Command module as
>
>- name: list the files
>win_command: dir /b /a-d
>
Use the win_find module
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups
Hi,
manually login to each servers and setting root password, login to
server1, set password "password123" ; then login to server2 set
password "redhat123" like this i'm looking for ansible playbook, where i
can automate for 100+servers.
Idea looking forward:-
1, Random password needs to
but I'm working in Windows;
I used Command module as
- name: list the files
win_command: dir /b /a-d
fatal: [172.31.17.108]: FAILED! => {
"changed": false,
"cmd": "dir /b /a-d",
"msg": "Exception calling \"SearchPath\" with \"1\" argument(s):
\"Could not find file
Hi uppara
On Linux system we have a parameter -1 to list only names of files.
Walber
On Tue, 17 Sep 2019 at 10:12 AM Uppara venkat
wrote:
> Hi,
>
> wanted to list the files in a directory and copy the only file name into
> property file,
> using by win_shell:
>
> - name:list the files
>
On Tue, 17 Sep 2019 16:11:18 +0200
Vladimir Botka wrote:
> On Tue, 17 Sep 2019 05:29:05 -0700 (PDT)
> Sur Veillor wrote:
>
> > > setfacl "-r" option is not available in Linux. Linux man setfacl says
> > > FWIW, "Solaris Working Group" might be interested to learn about it
> > >
On Tue, 17 Sep 2019 05:29:05 -0700 (PDT)
Sur Veillor wrote:
> > setfacl "-r" option is not available in Linux. Linux man setfacl says
> > FWIW, "Solaris Working Group" might be interested to learn about it
> > https://github.com/ansible/community/wiki/Solaris
> >
> Indeed, I checked the
Hi,
wanted to list the files in a directory and copy the only file name into
property file,
using by win_shell:
- name:list the files
win_shell: 'ls {{directory}} > {{directory}}/manifest.prob'
register: dir_out
- debug: var={{item}}
with_items: dir_out.stdout_lines
Le mardi 17 septembre 2019 10:46:41 UTC+2, Vladimir Botka a écrit :
>
>
> setfacl "-r" option is not available in Linux. Linux man setfacl says
>
>-n, --no-mask
>Do not recalculate the effective rights mask. The default
> behavior
>of setfacl is to recalculate the
I have this playbook to roll out "dot" config files:
--- - hosts: linuxboxes tasks: - name: Update .* config files in $HOME
copy: src: "{{ item }}" dest: /home/user1/ owner: user1 group: user1
with_fileglob: -
/home/master/System_Configs/Bash-Profiles/Linux/Ubuntu/User/.*
This playbook is
On 9/16/19 3:45 PM, Keith Mills wrote:
> Hi Stefan,
>
> I'm working on a task for SELinux that I need to install dependencies, set
> SELinux to permissive mode, etc. This is for
> RHEL, SLES, and Debian. Also The policy for RHEL and Debian are named
> differently (RHEL = targeted) and (Debian =
Assuming its a straight download then
https://docs.ansible.com/ansible/latest/modules/get_url_module.html ?
Richard.
On Tue, 17 Sep 2019 at 21:12, Uppara venkat
wrote:
> Hi,
> Need to download some .zip files and .exc files from Jfrog for that i'm
> using python script,
>
> Is there any way
On 16.09.2019 15:45, Keith Mills wrote:
Hi Stefan,
I'm working on a task for SELinux that I need to install dependencies,
set
SELinux to permissive mode, etc. This is for RHEL, SLES, and Debian.
Also
The policy for RHEL and Debian are named differently (RHEL = targeted)
and
(Debian =
Hi,
Need to download some .zip files and .exc files from Jfrog for that i'm
using python script,
Is there any way to download files from General repo of Jfrog with Ansible?
--
Thanks& Regards,
venkatesulu.U
8147041026
--
You received this message because you are subscribed to the
On Mon, 16 Sep 2019 14:28:10 -0700 (PDT)
Sur Veillor wrote:
> man of setfacl inform about -r option :
>
> -rRecalculates the permissions for the ACL
> >mask entry. The permissions specified in
> >the ACL mask entry are
Hello Michael,
As i understand your query you want to use custom list of jinja2 template
paths. you can use fileglob module here to match all the files of a
particular pattern in a directory. This module return a list of paths.
Below is the example playbook:
---
- hosts: localhost
vars:
18 matches
Mail list logo