I have two different organizations managed in two separate files, with some
overlap in roles.
I'm currently manually creating groups within each file target hosts in
that file (conceptually "organization").
I'd like to have an automatic variable that is constructed by file scope.
Is this
No idea, but if it does for you for that repo, and it doesn't for
other repos, then it's something specific to the repo.
On Mon, 9 Mar 2020 at 18:53, Joshua Goldman wrote:
>
> Is adding the repository timing out for anyone else?
>
> --
> You received this message because you are subscribed to
Hi
On Mon, 9 Mar 2020 at 18:48, harry devine wrote:
> The main.yml under tasks is as follows:
>
> - name: Playbook to perform a repo sync from the sat server
> hosts: localhost
>
> tasks:
> # Sync all repositories
> - name: Get all repositories
> foreman_search_facts:
>
Is adding the repository timing out for anyone else?
--
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 ansible-project+unsubscr...@googlegroups.com.
To view
I'm trying to create a role that will update Satellite content views using
the Foreman/Katello modules. Here's what the role tree looks like:
[root@server1 /etc/ansible/roles/foreman_content_views]#tree
.
├── defaults
│ └── main.yml
├── tasks
│ ├── clean_cv.yml
│ └── main.yml
└── vars
Hi,
I ran into an issue after updating to Ansible 2.8.5 (in AWX 9.1.1)
This used to work in the previous version (Ansible 2.8.1, AWX 6.0.0.0)
I fixed some issues from the python 2 to 3 but this one eludes me.
I'm trying here to create a Bridge Domain
I can provide extra info tomorrow as the
On 3/9/20 4:36 PM, gefela wrote:
>
> I am trying to run a playbook and the details come from a file but it is
> giving me an error message
>
>
> ansible-playbook -i inventory junos_config.yml
>
> PLAY [Juniper SRX configuration compliance checks]
> *
>
> TASK
I am trying to run a playbook and the details come from a file but it is
giving me an error message
ansible-playbook -i inventory junos_config.yml
PLAY [Juniper SRX configuration compliance checks]
*
TASK [Syslog server check]
Thanks, that seems to be working!
On Monday, March 9, 2020 at 7:17:30 PM UTC+5:30, Vladimir Botka wrote:
>
> On Mon, 9 Mar 2020 06:06:39 -0700 (PDT)
> Sanjay > wrote:
>
> > Any idea/comments why this doesn't work?
> > Installed aversion - 2.9.0
> >
> > Playbook : test.yml
> > --
> > -
On Mon, 9 Mar 2020 06:06:39 -0700 (PDT)
Sanjay wrote:
> Any idea/comments why this doesn't work?
> Installed aversion - 2.9.0
>
> Playbook : test.yml
> --
> - name: substitute vars
> hosts: localhost
> gather_facts: False
> vars_files:
> - "vars.yml"
> tasks:
> -
Any idea/comments why this doesn't work?
Installed aversion - 2.9.0
Playbook : test.yml
-
--
- name: substitute vars
hosts: localhost
gather_facts: False
vars_files:
- "vars.yml"
tasks:
- name: print vars
debug: msg="{{ vars.a }}"
vars.yml
a: "{{
Thanks, that's thé filter I looking for.
Have a nice nice day !
--
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
Experts Hi,
I have couple of variable files like below:
$ cat vars_ip.yml
---
12.1.1.25: TAP1
12.1.1.26: TAP2
11.0.0.26: TAP3
11.0.0.27: TAP4
9.2.2.211: SAT1
9.2.2.212: SAT2
10.7.7.28: SAT3
10.7.7.29: SAT4
9.2.2.213: SAT5
10.7.7.30: SAT6
$ cat vars.yml
---
layers:
- name: MY_LAYER
I have a variable file like below:
12.1.1.25: TAP1
12.1.1.26: TAP2
11.0.0.26: TAP3
11.0.0.27: TAP4
9.2.2.211: SAT1
9.2.2.212: SAT2
10.7.7.28: SAT3
10.7.7.29: SAT4
layers:
- name: MY_LAYER
things_prod:
- 12.1.1.25
- 12.1.1.26
things_dr:
- 11.0.0.26
14 matches
Mail list logo