HI All,
I am developing below play for patching but stuck with local action copy
content module. Please let me know what I am missing here
Code:-
---
- hosts: "{{ host }}"
become: yes
become_method: sudo
tasks:
- name: Running prepatch info commands
shell: |
echo -e
There is no specific mssql query module part of ansible itself, but a 3rd
party module does exist for this purpose:
https://github.com/melmorabity/ansible-mssql-query
If you can, report on its usability.
Dick
On Tue, 20 Nov 2018 at 05:36, ameya agashe wrote:
> Hello Guys,
>
> I have copied a
Hi,
I need to automate the provisioning of 2 node GKE cluster using Ansible.
Appreciate, if someone can direct me to a tutorial or any kind of guidance
in this regard.
Thank you very much!
Regards,
Somali
--
You received this message because you are subscribed to the Google Groups
Hello Guys,
I have copied a script on MS SQL server on c:\temp\always-on.sql
I'm wondering how to have it executed by Ansible, win_shell module? or is
there any specialized module for MSSQL for Ansible?
Kindly assist
Thanks
Ameya Agashe
--
You received this message because you are subscribed
well a lot of this tools are to do that more automated or give you more
insight before you get to the point of running them.
On Mon, Nov 19, 2018 at 11:04 PM Linux Tech
wrote:
> when ever i try to write something in ansible yml file it always show me
> syntax error.
>
> --
> You received this
when ever i try to write something in ansible yml file it always show me
syntax error.
--
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
Kool. So it's really saying (bolded):
ansible-playbook -i infra --limit mysql06 main.yml --tags "mysql" -v --check
fatal: [mysql06]: FAILED! => {"changed": false, "msg":
"AnsibleUndefinedVariable:
'ansible.vars.hostvars.HostVarsVars object' has no attribute
'ansible_default_ipv4' *for
Hi Fabio,
I am not using the playbook for this particular task, I am creating an
ansible control server and client. I am trying to connect from control
server to client after generating the ssh keys.
I used ssh-keygen on ubuntu server using ansible user. I am setting a
passwordless connection
Hi Arvind,
It was pretty simple 'cause I was messing up the users.
Are you running your playbook with root? Which user you set on your hosts
as ansible_user? Are you using become inside your playbooks?
Also, I stopped using ssh, instead I'm using openstack keypair.
And try Dave's suggestion,
Cheers. Really appreciated.
I ll have a look at ARA soon
Thanks
On Tue, Nov 20, 2018 at 12:08 AM Jonathan Lozada De La Matta <
jloza...@redhat.com> wrote:
> For more enterprise logging and sending to a log aggravator then AWX/Tower
> https://www.ansible.com/products/tower &
For more enterprise logging and sending to a log aggravator then AWX/Tower
https://www.ansible.com/products/tower & https://github.com/ansible/awx
If you just need an UI to see the ansible runs then I suggest you try
Ansible Ara https://github.com/openstack/ara
On Mon, Nov 19, 2018 at 6:01 PM
Hi Jonathan. Mostly logs/reports for now. Then we ll evaluate an enterprise
solution.
cheers
On Mon, Nov 19, 2018 at 11:51 PM Jonathan Lozada De La Matta <
jloza...@redhat.com> wrote:
> Are you looking for more enterprise central features or just a place to
> see more the output/logs/reports?
>
Are you looking for more enterprise central features or just a place to see
more the output/logs/reports?
On Mon, Nov 19, 2018 at 5:44 PM Alfredo De Luca
wrote:
> Hi all.
> We run ansible in about 100 VM through Openstack and in the near future we
> will implement ansible pull or run ansible
Hi all.
We run ansible in about 100 VM through Openstack and in the near future we
will implement ansible pull or run ansible from a central workstation to
all those nodes.
I wonder if there is a sort of report (possibly on web) of each run and
things changed that I can implement too. I heard
Hi Fabio,
can you please clarify how you managed to solve it. I created user ansible,
the public keys ID_RSA.pub are stored under /home/ansible/.ssh folders. the
ssh-copy-id should copy to target server - client when I run
ssh-copy-id ansible@privateip.
I create same user name 'ansible' on
I created a ansible control server, and client server. I created 'ansible'
users on both control and remote client server. I created ssh keys use
ssh-keygen, I tried to copy the ssh keys ( public key) to remote client
using ssh-copy-id it fails. The OS on the two servers is Ubuntu 18.04 LTS
Most modules are a single file, the 'multiple files' are normally 'non
python modules' and the .py that holds the documentation. Since
Ansible only ships with python and powershell modules you would only
have multiple files for .ps1 modules.
--
--
Brian Coca
--
You received this
I have a temporary file created on Ansible Tower and able to send it via
email. Additionally I would like to copy this file to remote server on some
path. Can you please help me with this requirement?
On Monday, 19 November 2018 16:35:53 UTC-5, Jonathan Lozada De La Matta
wrote:
>
> do you
do you have the file in all the nodes?
On Mon, Nov 19, 2018 at 4:25 PM Saravanan wrote:
> I am getting source not found error while copying a file from Ansible
> Tower server to remote server. Actually file is available in the local path
> of Ansible Tower server. Any help is much appreciated.
I am getting source not found error while copying a file from Ansible Tower
server to remote server. Actually file is available in the local path of
Ansible Tower server. Any help is much appreciated.
On Monday, 19 November 2018 09:15:39 UTC-5, Saravanan wrote:
>
> Hi Ansible Experts,
> Need to
Thank you sir.
I had actually done it and was still getting the error. I then realised i
had to do sudo
sudo ansible web -i inventory.yml -m win_ping
10.xxx.xxx.xx | FAILED! =>SUCCESS => {
"changed": false,
"ping": "pong"
}
This is for anyone who wants to install WinRM offline. This
On Monday, 19 November 2018 18:41:46 CET Bruno Cochofel wrote:
> I have more then one DC, one with proxy and the other with no proxy. Almost
> all my servers are on the DC that has proxy.
> Can I set something like (taken from ansible documentation):
>
> ---# file: group_vars/boston
>
Hi,
I have more then one DC, one with proxy and the other with no proxy. Almost
all my servers are on the DC that has proxy.
Can I set something like (taken from ansible documentation):
---# file: group_vars/boston
ntp_server: ntp.bos.example.combackup: bak.bos.example.comproxy_env:
On Monday, 19 November 2018 07:34:17 CET Tom K. wrote:
> ansible-playbook -i infra --limit mysql06 main.yml --tags "mysql" -v --check
>
> fatal: [mysql06]: FAILED! => {"changed": false, "msg":
> "AnsibleUndefinedVariable:
> 'ansible.vars.hostvars.HostVarsVars object' has no attribute
>
Hi Ansible Experts,
Need to copy a file from Ansible tower server to remote server using copy
module. Can you please help to achieve this using copy module or any other
module in Ansible?
---
- name: Copy file to remote server
gather_facts: no
hosts: 127.0.0.1
tasks:
- name: Copy
Hmm, as I say I don't know what kitchen expects, however it strikes me as
unusual to have your playbook stored in the tasks folder of your role.
Generally playbooks list one or more roles that should be applied to the
hosts in the current play, so it seems odd to have the playbook stored in
Hello,
When extracting an empty archive, the unarchive module exists with an
error:
*"failed: [localhost] (item=/tmp/foo/bar.zip) => {"changed": false, "item":
"/tmp/foo/bar.zip", "msg": "Failed to find handler for
\"/tmp/foo/bar.zip\". Make sure the required command to extract the file is
Hi
Im a newbie on Ansible. I have a scenario where
Steps:
I look for a version of an application.
If version is present call uninstall.yml else call install.yml
snippet i tried
- win_shell: D:\Build\regread2.vbs XXX InstallLocation
register: result
- set_fact:
signup_token: '{{
Thanks, my directory structure is as follows:
/
.kitchen.yml
roles/common/
--/tasks/playbook.yml
--/templates/create_motd.j2
test/
//.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: ansible_playbook
hosts: all
require_ansible_repo: true
require_chef_for_busser:
Hello,
I am experiancing the same issue on Redhat 6.X and Tower version 3.0.4.
There are no hints or leads when I search in Google.
Did you manage to resolve the issue? How did you do it? Any Leads/Clues??
On Tuesday, 2 August 2016 15:12:39 UTC+2, Arun John Varughese wrote:
>
>
> Hi,
> I am
Thanks, I noticed this when I crawled through the source code over the
weekend.
Interesting, that it's just symlinks..
I'm looking to trim modules but all the time I find more directories where
modules or configuration files for modules are stored.
I found this at at least 3 places and it seems
Hard to guess what's going on here without seeing your playbook and
template file, but my guess would be the template (.j2) file isn't in one
of the places that ansible expects to find it.
If your template is in a role (best place for it) then there are some rules
about where ansible will look
Hi, I am very new to Ansible and I have a question regarding the template
module.
I am receiving an error running a playbook where ansible cannot find or
access the j2 file.
If I transfer the file manually into /tmp/kitchen/ where it says it is
looking, then it runs fine. I am using Test
33 matches
Mail list logo