Hi Guys,
I am trying to play around with Ansible dynamic inventory to get software
installed/perform configuration management.
I have executed instructions as given by Microsoft here:
https://docs.microsoft.com/en-us/azure/ansible/ansible-manage-azure-dynamic-inventories
Commands from my VM are
also here is a copy are my settings of for ansible.cfg and version I am
running
ansible 2.7.8
config file = /etc/ansible/ansible.cfg
configured module search path = ['/usr/share/ansible']
ansible python module location =
/usr/local/lib/python3.6/site-packages/ansible
executable
ok fixed the username and password and I am still not able to login using
the playbook
Also to answer your question yes I am able to login using vegeta with just
plain ssh into switch
On Saturday, February 23, 2019 at 8:58:52 AM UTC-5, Wawrzek Niewodniczanski
wrote:
>
> On Fri, 22 Feb 2019
On 23.02.2019 23:07, Paulo Silva wrote:
> It was a typo, even like that only the first one is executed.
You have only shown us part of your code, since it's not working you have
error(s) in that code.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google
It was a typo, even like that only the first one is executed.
Regards
A sábado, 23/02/2019, 15:22, BHARATHI DURAI RAJ
escreveu:
> Try this one
>
> - name: task with var1
> include_tasks: external.yaml
> vars:
> my_var: var1
>
> - name: task with var2
> include_tasks: external.yaml
>
Dear Ankit,
Were you able to solve the problem? I am currently in a similar situation
and I am still struggling to solve it.
Thanks!
sábado, 24 de Novembro de 2018 às 10:32:36 UTC, Ankit Vashistha escreveu:
>
> I was trying to using snow modules (
>
Hello
We have Ansible in our organisation which deploys software across our
Development servers.
IT Security recently CyberArk'd each of the Development servers and now
Ansible cannot log into each of the machines (not even as 'root').
When I try manually to SSH as 'root' with the
On 23.02.2019 18:53, adsquai...@gmail.com wrote:
> Hello all,
>
> I have an inventory file populated with two hosts and I would like to use
> the value of host B's variable on host A. I had no luck with using hostvars
> in the template.
>
> Example inventory file. Note this will be a dynamically
Hello all,
I have an inventory file populated with two hosts and I would like to use
the value of host B's variable on host A. I had no luck with using hostvars
in the template.
Example inventory file. Note this will be a dynamically generated file.
[host_a]
x.x.x.x
[host_a:vars]
Try this one
- name: task with var1
include_tasks: external.yaml
vars:
my_var: var1
- name: task with var2
include_tasks: external.yaml
vars:
my_var: var2
On Saturday, 23 February 2019 20:27:12 UTC+5:30, Paulo Silva wrote:
>
> Hi,
>
> Is it possible do to something like this
Hi,
Is it possible do to something like this inside a role?
- name: task with var1
include_tasks: external.yaml
vars:
my_var=var1
- name task with var2
include_tasks: external.yaml
vars:
my_var=var2
I'm no getting any error but it appears that only the first include_tasks
is
Can you please help me on correcting the below playbook...
- name: Delete Project
uri:
url: "https://dev.azure.com/{{ org }}/_apis/projects?api-version=4.1"
method: DELETE
user: "{{ vsts_user }}"
password: "{{ pattoken }}"
return_content: yes
Hi all,
I've got a playbook that uses variables to create a load balanced pool and
the required members on our test F5 BigIP.
I've got the basics working without issue, however, the number of members
of a pool for any given run is not a fixed number and could range from 1 up
to say 10.
I'm
On Fri, 22 Feb 2019 at 21:56, VeGeTa-X wrote:
>
[...]
> please let me know what I am missing?
There might be something else, but these 3 lines look wrong, just one
"}" should be two.
> ssh:
> host: “{{ansible_host}”
> username: “{{vegeta}”
> password: “{{abc123}”
Also can
14 matches
Mail list logo