Hi,
I am relatively new to Ansible. I need to use Ansible from a dev laptop to
set up some servers (both Ubuntu and Centos) that are isolated without any
Internet access. The laptop has Internet access for development and it can
ssh into these servers.
I wonder what's the best practice in
Thats really strange... I just rebuilt an Ansible env using the latest from
source and everything works fine.
https://gist.github.com/privateip/88b68576d7c0dd8d8e566ce3ec75e4a8
Will try to look at exactly which commit the asa_* modules showed up in the
submodule a bit later but it definitely is
I found the solution elsewhere you can set this via -e
-e 'ansible_python_interpreter="/usr/bin/env python"'
On Thursday, August 11, 2016 at 3:34:18 PM UTC-4, Troy Cauble wrote:
>
> What can I do if I'm not using an inventory file? I'm exec-ing from a
> script with "ansible-playbook -i ,
What can I do if I'm not using an inventory file? I'm exec-ing from a
script with "ansible-playbook -i , ...".
Also, the ansible and ansible-playbook scripts in my_virtualenv_dir/bin
start with
#!/my_virtualenv_dir/bin/python2
So they're using the right python to start...
--
You received
On 11. aug. 2016 20:00, SC wrote:
Thanks for the reply Kai! I took a look at the /etc/default/login file on
the Solaris box and it looks like the PATH lines are commented out:
# PATH sets the initial shell PATH variable
#
#PATH=/usr/bin:
# SUPATH sets the initial shell PATH variable for root
#
@Tony Reveal
@ Peter Sprygada
Tony is right, I've just tried the asa_command and experienced the same
issue:
TASK [asa_pull_config : Fetching config from the remote node]
**
fatal: [172.21.100.252]: FAILED! => {"failed": true, "msg": "Could not find
imported module support
That was perfect. Thanks!
--
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 post to this group, send email to
Unless it's just Google Groups eating the formatting, it looks like your
YAML indentation is hosed up (Ansible's failing on the control side, not on
the Windows module). YAML is whitespace-sensitive, so it should look like:
- name: Add a user
hosts: all
gather_facts: false
tasks:
-
When deploying an autoscaling group I want to be able to add custom
hostnames to the instances for both initial deploy and scaling up and down.
hostnames would be something like app-server01 app-server02. Then when we
scale up it would increment 03/04/etc.
Thanks,
Eric
--
This email
Hi list,
I upgraded ansible with the latest epel-testing
version ansible-2.1.1.0-1.el7.noarch and noticed a change with the
roles_path configuration.
This is my roles_path:
roles_path= /etc/ansible/roles:../base/roles:./roles
So I expect that if I run a playbook from
Hi Trond,
thank you for your reply, it turns out to be the msrest, we were using
0.4.0 and it only works with 0.4.1.
I've updated it and it works now fine.
BR
On Wednesday, August 10, 2016 at 3:46:07 AM UTC+3, Trond Hindenes wrote:
>
> Could you please share an example playbook? We're using
On 11. aug. 2016 09:14, SC wrote:
Do you know if it's possible to add to the PATH in Ansible's
non-interactive run somehow? I do have a ghetto workaround where I check
the ansible_distribution and make a conditional in the playbook to point to
a different script depending on the distro but it's
On 11. aug. 2016 09:26, SC wrote:
Probably a silly question, but is it possible to refer to another Python
file with the script module?
No, it has limited functionality.
For example, if I have abc.py and 123.py, if I import 123.py into the
abc.py python script (if I need some functions or
Probably a silly question, but is it possible to refer to another Python
file with the script module?
For example, if I have abc.py and 123.py, if I import 123.py into the
abc.py python script (if I need some functions or whatever), both of these
files are not copied when I call the script
Really appreciate your reply, it's very informative. I'm still not so
familiar with Ansible so it's good to get someone else's take.
I put that debug line into the Playbook and got the following output:
Non-Solaris
"ansible_env": {
"CVS_RSH": "ssh",
"G_BROKEN_FILENAMES": "1",
Good morning,
I'd like to request a feature for the core module yum. I would like to
specify advisory which should be installed. This would be the
functionallity of --advisory=RHSA-: from the local tool.
Kind regards,
Joerg
--
You received this message because you are subscribed to
16 matches
Mail list logo