Hello i want to use playbook to config router in towerm but i have error
message unable to set parameter. In my router you must go to privilege exec
mode and do ssh for remote
---
- hosts: '{{ host }}'
connection: network_cli
gather_facts: false
vars:
ansible_ssh_user: '{{ ssh_user }}'
Trying to install mysql on SLES 12 SP1 using Ansible 2.7
Following officail mysql documentation as per here:
https://dev.mysql.com/doc/refman/8.0/en/linux-installation-rpm.html
i.e. using the following command:
sudo zypper install mysql-community-{server,client,common,libs}-*
I'm new to Ansible and working through the Getting Started in the docs. It
shows to use sudo mode just add --sudo flag, but that fails:
ansible tv -m ping (works)
ansible tv -m ping --sudo (fails with sudo: a password is required)
Shouldn't Ansible prompt me for a password for sudo mode?
"{{ lookup('vault', 'pki/issue/webserver common_name=\"test.example.com\"
ip_sans=\"{{ IP_ADDR }}, {{
var=hostvars[inventory_hostname].ansible_ssh_host }}\" format=\"pem\"
key_bits=4096').certificate }}"
Hi im trying to use a variable inside a lookup statement which I'm using to
query vault
Found it!
- name: Wait for service
wait_for:
path: /tmp/{{ item }}.log
search_regex: 'Docker is up and running'
timeout: 5
delegate_to: localhost
with_items: "{{ groups['manager'] }}"
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
: "*groups['manager']*", "msg":
"Timeout when waiting for search string Docker is up and running in /tmp/
*groups['manager'].*log"}
On Wednesday, November 15, 2017 at 10:54:27 AM UTC-5, Dean Kamali wrote:
>
> Hey everyone
>
> I'm trying this co
Hey everyone
I'm trying this combination, can't figure out what I'm doing wrong,
When I try the following it works
- name: Wait for service
wait_for:
path: /tmp/node-41.log
search_regex: 'Docker is up and running'
delegate_to: localhost
However when I try and loop over hosts group, it
I'm trying to use ansible's uri module to mimic curl command, I need to
pass options when uploading an XML file. My curl command has number of
options passed via -F, --form
Hello Everyone,
I am getting the following error below when I try to run the ios_command
module.
fatal: [switch]: FAILED! => {"changed": false, "failed": true, "msg": "paramiko
is required but does not appear to be installed"}
Ive tried updating paramiko to the latest version and it still
Having troubles trying to setup the route tables in a VPC with a NAT
gateway as the target.
- name: Create Private B route tables
ec2_vpc_route_table:
vpc_id: '{{ vpc_id }}'
region: '{{ vpc_region }}'
subnets:
- '{{ vpc_subnet_private_b }}'
routes:
-
Has anyone resolved this issue? I am experiencing the same thing but cannot
find the cause of the error.
On Tuesday, October 13, 2015 at 12:02:34 PM UTC-7, Anatoliy Kovalenko wrote:
>
> Any ideas or help would be very much appreciated! can't resolve it by
> ourselves
>
> On Friday, October 9,
-central1-b name=localhost
failed: [localhost] => {"changed": false, "failed": true}
msg: Unexpected response: {}
FATAL: all hosts have already failed -- aborting
PLAY RECAP
to retry, use: --limit
Thanks Brian, although that didn't change the error any :(
D
On Saturday, July 4, 2015 at 12:07:52 AM UTC-3, Brian Coca wrote:
try
haproxy_group: {{groups[machine_environment + '.' + vpc_region + '.'
+ proxy_servers]}}
--
Brian Coca
--
You received this message because you are
Sorry Brian, I should have mentioned I caught that and fixed it after
posting the original question! :(
D
On Monday, July 6, 2015 at 11:09:39 AM UTC-3, Brian Coca wrote:
well, the group is 'develop' and your string is 'development'
--
Brian Coca
--
You received this message because
Disk encryption is not supported on a t2.micro instance. You need to use a
supported instance size and then it should work. Did the instance creation
fail? My guess is it should, but perhaps that depends on what AWS/boto
sends back.
HI all,
Am trying to admin/setup multiple EC2 Windows hosts and have hit a bit of a
snag. I have playbooks that create the initial instances just fine, along
with one that creates a list of the Instance IDs of the Windows hosts I
need using the ec2 module, and one that gets the default
Hi all,
Am trying to install nvm and PM2 from a playbook and I've hit a snag. One
of the commands I need to run is to source the pm2 users .profile file. The
issue is I don't seem to be able to do that from ansible (am using 1.9.1,
in case that matters):
- name: Source nvm profile
I get a slightly different error now:
TASK: [Source nvm profile]
failed: [10.17.100.59] = {changed: true, cmd: source
/home/pm2/.profile, delta: 0:00:00.001528, end: 2015-06-19
17:18:58.307304, rc: 127, start: 2015-06-19 17:18:58.305776,
On Fri, Jun 19, 2015 at 1:20 PM, Dean Mills dean@gmail.com
javascript: wrote:
I get a slightly different error now:
TASK: [Source nvm profile]
failed: [10.17.100.59] = {changed: true, cmd: source
/home/pm2/.profile, delta: 0
19 matches
Mail list logo