Re: [ansible-project] Accessing Cfg file values within nested loops + using sections + passing section in cmd argument

2020-10-19 Thread Akshay Kumar
Hi D.Visser, Sorry for not being able to share the info properly , i am using the below playbook - hosts: localhost vars_files: - "{{ config }}.cfg" tasks: - name: run ls shell: "'{{ item.command }}' '{{ item.dir }}'" when: "'{{ item.command }}' == 'ls'" with_items: "{{

[ansible-project] Reading NTFS ACL's

2020-10-19 Thread jesse...@gmail.com
>From what I've found from searching and tinkering myself, it isn't too easy to read NTFS ACL's from a file path, local or UNC, doesn't matter... am I mistaken on this? Would this be something better to just cheat and write a PS function to complete what I need instead? Desire: Read NTFS

Re: [ansible-project] Accessing Cfg file values within nested loops + using sections + passing section in cmd argument

2020-10-19 Thread Dick Visser
This is too abstract to comment on in a useful way. What does "not able to use" mean - does it fail? Please provide the real, actual, working playbook and try to use less opaque terms. Also, what is the overall goal you are trying to achieve? >From the little information you've shared, the

[ansible-project] Accessing Cfg file values within nested loops + using sections + passing section in cmd argument

2020-10-19 Thread Akshay Kumar
Hi All, Hope all is well with everyone during these bad times because of covid :-). I would like to know some good advices from the community on a scenario am working on , it goes as followed: Cfg file: SectionA: ls: dirname: Command: List cp: srcdirname:

RE: [ansible-project] has anyone setup private ansible galaxy?

2020-10-19 Thread Stuart Lowe
Are you able to refer to a local git server? From: ansible-project@googlegroups.com On Behalf Of Prabha Sent: 19 October 2020 14:37 To: Ansible Project Subject: [ansible-project] has anyone setup private ansible galaxy? Hi, Has anyone ever setup a Private Ansible Galaxy server. I am hardly

[ansible-project] SELinux Role Review

2020-10-19 Thread Keith Mills
Hello ALL, I'm working on a linux-system-role-selinux. Expected functionality: - Set enforcing/permissive - restorecon portions of filesystem tree - Set/Get Booleans - Set/Get file contexts - Manage logins - Manage ports Available modules in Ansible: - selinux -

Re: [ansible-project] has anyone setup private ansible galaxy?

2020-10-19 Thread Jorge Rúa
I think a doable solution would be installing a pulp3 server in your on-premise servers. https://pulpproject.org/content-plugins/#ansible HTH, Regards, El lun., 19 oct. 2020 a las 15:37, Prabha () escribió: > Hi, > > Has anyone ever setup a Private Ansible Galaxy server. I am hardly finding >

[ansible-project] has anyone setup private ansible galaxy?

2020-10-19 Thread Prabha
Hi, Has anyone ever setup a Private Ansible Galaxy server. I am hardly finding any documents around it. As an organization we aren't allowed to pull repos from internet and we would like to create our own Ansible Galaxy server. Suggestions would be appreciable!!! Thanks! Prabha. -- You

Re: [ansible-project] Display apt-get install progress in realtime

2020-10-19 Thread Dick Visser
I think in ansible each task is 'atomic' in the sense that you're not meant to care so much about what goes on on the inside, but rather it is about the result. Maybe the async_status can help (although I doubt it):

[ansible-project] Display apt-get install progress in realtime

2020-10-19 Thread Gebrina Divva Meuthia Zulma
Hi so I encountered some problems, while ansible have been a blessing for my automation task, I have some problems with apt installation package. What I mean is that I want ansible to display each of the progress realtime, not after its finishes. It wont be a problem if its just apt-get