Hi
I created a playbook to install Office 2016 which I think should work. I
had it run setup.exe /adminfile -- the unattended.msp
file I created by running setup.exe /setup and setting it to install with
Display level: None, which has Suppress Modal selected only.
Each time I try running
Ok then I need mazer for multiple roles repositories. Buy the requirements.yml
in roles directory use automtically ansible-galaxy command.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
yes, look at https://galaxy.ansible.com/docs/using/installing.html and
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
On Fri, Mar 22, 2019 at 5:32 PM Seth Daemen wrote:
> Did you find a solution forum this?
> Is IT posible tot user one git repo
Did you find a solution forum this?
Is IT posible tot user one git repo for multiple roles and use the ansible
galaxy command OR requirements.yml
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
This Play installs python3, pip3, boto3 and botocore, and trys to use
aws_s3 module to download a file:
TASK [run yum update -y using yum module]
***
ok: [ip-10-200-2-137.us-west-2.compute.internal]
TASK
Hi,
> I cant figure out why
>
> ---
> - hosts: misc
> become: false
> gather_facts: yes
> tasks:
> - name: get package version
> shell: rpm -q {{ item }}
> with_items:
> - "package1"
> - "package2"
> - "package3"
> register: pkg
>
> -
When you do a loop on a task the registered variable structure changes. Try
just debugging `pkg` to see the structure. You will effectively have
`pkg.results`
On Fri, Mar 22, 2019 at 2:51 PM Jerry Seven wrote:
> I cant figure out why
>
> ---
> - hosts: misc
> become: false
> gather_facts:
use quotes inside the shell "rpm -q {{ item }}" also you can list for for
rpms using the yum module.
On Fri, Mar 22, 2019 at 3:51 PM Jerry Seven wrote:
> I cant figure out why
>
> ---
> - hosts: misc
> become: false
> gather_facts: yes
> tasks:
> - name: get package version
>
I cant figure out why
---
- hosts: misc
become: false
gather_facts: yes
tasks:
- name: get package version
shell: rpm -q {{ item }}
with_items:
- "package1"
- "package2"
- "package3"
register: pkg
- debug:
msg: "{{ pkg.stdout }}"
Chanaka,
please reach support for this.
On Fri, Mar 22, 2019 at 2:48 PM Chanaka Samarajeewa
wrote:
> Hello,
>
> I configured Tower to authenticate with OKTA via SAML . When I go to
> Tower's login page and click "Sign in with SAML" it functions correctly and
> takes me to Okta to sign in, then
On Friday, March 22, 2019 at 11:23:15 AM UTC-6, John Harmon wrote:
>
> You are right I switched to lineinfile sometime between yesterday and
> today. I switched back to replace due to your success (and I prefer to use
> it as I believe it will replace all found instances).
>
> Seems to
Hello,
I configured Tower to authenticate with OKTA via SAML . When I go to
Tower's login page and click "Sign in with SAML" it functions correctly and
takes me to Okta to sign in, then allows me into Tower after
authenticating. However, If I initiate the process from OKTA by clicking
the
Hi,
On 22.03.19 18:28, Brian Coca wrote:
> The copy module uses the transfer mechanism from the 'connection
> plugin', which, if using ssh CAN be scp, but it also tries sftp and dd
> by default, but you can control this via configuration (see scp_if_ssh
> setting).
I see that setting, but I'm
Thank you – this worked and it’s a lot cleaner then the way I was doing it
- I knew about the yum module but because it did not have any return values
I was afraid that it just kicked off the update and moved on - I'm glad
that's not the case
On Friday, March 22, 2019 at 12:32:36 AM UTC-7,
The copy module uses the transfer mechanism from the 'connection
plugin', which, if using ssh CAN be scp, but it also tries sftp and dd
by default, but you can control this via configuration (see scp_if_ssh
setting).
--
--
Brian Coca
--
You received this message because you are
You are right I switched to lineinfile sometime between yesterday and
today. I switched back to replace due to your success (and I prefer to use
it as I believe it will replace all found instances).
Seems to be working now, however, one follow-up question regarding
backrefs. I thought
Not really an ansible question, but you can always execute powershell
commands a windows host with access to the database server and this command
On 22.03.2019 17:11, James Gibson wrote:
> Yes that worked, but for the client I am working with, I am unable to
> change the validation. How would I define it so that test_out.test would
> work?
You can't since debug doesn't return test.
--
Kai Stian Olstad
--
You received this message
On 22.03.2019 17:47, John Harmon wrote:
>
> Thx Kai.
>
> I tried it, and the regexp test shows that the regexp is good, but it
> doesn't replace the line. It just says ok, and continues on. Here is my
> slightly modified variant also doing the same thing (or to be more
> specific, not doing
Thx Kai.
I tried it, and the regexp test shows that the regexp is good, but it
doesn't replace the line. It just says ok, and continues on. Here is my
slightly modified variant also doing the same thing (or to be more
specific, not doing anything):
regexp:
On 22.03.2019 16:11, John Harmon wrote:
>
>> It will be easier to help if you could show what do have in the file and
>> what is should be after replace.
>>
>>
>> --
>> Kai Stian Olstad
>>
>
> I didn't post it so as to not overburden everyone with my issues; however,
Regexp is not easy without
On Friday, March 22, 2019 at 11:33:17 AM UTC-5, Brian Coca wrote:
>
>
> I hope this clears things up,
>
>
>
It doesn't. Your e-mail response is nearly as bland and unfriendly as
sivels.
Thanks,
Michael
--
You received this message because you are subscribed to the Google Groups
"Ansible
New question,
Can i execute line command SQL in ansible ?
How can i do it please ??
Thanks
Regards,
Le vendredi 22 mars 2019 16:48:13 UTC+1, ryad9...@gmail.com a écrit :
>
> Hi all,
>
> *"* Data synchronization can be resumed by right-clicking on the database
> and choosing "Resume data
Just a few things I would like to clarify:
- bugfixes change behaviour, always, otherwise they would not be 'fixing',
that you rely on a buggy behaviour is a different issue than 'is this
really a bug'
- before responding to you Sivel check around with other committers to make
sure he was not
Yes that worked, but for the client I am working with, I am unable to
change the validation. How would I define it so that test_out.test would
work?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
"test_out": {
"changed": false,
"failed": false,
"msg": "hello"
}
there is no key named test here. You need to use 'test_out.msg' above.
On Fri, Mar 22, 2019 at 3:57 PM James Gibson wrote:
> Thanks Syed. I added a validation step and that is failing.
>
> Updated
Are bug fixes vetted before they are introduced in stable releases?
A bug fix[1] on get_url changed its basic functionality when run under
check mode. The broken behavior has been in Ansible for years, but a stable
release made it work correctly for the first time and broke[2] existing
code
Thanks Syed. I added a validation step and that is failing.
Updated playbook
---
---
2 - name: Test playbook
3 hosts: localhost
4 connection: local
5 vars:
6 test: hello
7
8 tasks:
9 - name: test var
10debug:
11
Closing and locking a discussion while holding a self-righteous attitude
gave me an extremely sour taste in my mouth.
I raised a concern[1] about a bug fix that changed behavior in a stable
release when that behavior has been common place for years. Instead of
wishing to discuss the thought
Hi all,
*"* Data synchronization can be resumed by right-clicking on the database
and choosing "Resume data movement ...". *"*
[image: Resume_data_movement_of_sql_server.png]
I want know if in ansible its possible to realize the same thing as on the
image.
That is to resynchronize a
Hi Sebastian,
Ok.
Thanks for your answer
Regards,
Le vendredi 22 mars 2019 14:36:21 UTC+1, Sebastian Meyer a écrit :
>
> On 22.03.19 13:47, ryad9...@gmail.com wrote:
> > Hi all,
> >
> > I must use scp in ansible, i know module synchronize, copy but i d'ont
> find
> > the module scp.
> >
Try this it worked for me, A play takes a list of tasks so each tasks
should start with dash `-`:
---
- name: Test playbook
hosts: localhost
connection: local
vars:
test: hello
tasks:
- name: test var
debug:
msg: "{{ test }}"
register: test_out
On Thursday, March 21, 2019 at 2:46:50 PM UTC-6, Kai Stian Olstad wrote:
>
> On 21.03.2019 20:51, John Harmon wrote:
> >
> > Thx all. Those helped. I now get it to replace, but it replaces my
> string
> > and not just my backref. Not sure what I am doing wrong. I think that
> is
> >
I am trying to figure out why my variable is not defined and have not been
able to find any solutions online.
Can anyone help?
test.yml
---
- name: Test playbook
hosts: localhost
connection: local
vars:
test: hello
tasks:
- name: test var
debug:
msg: "{{
On 22.03.19 13:47, ryad9200...@gmail.com wrote:
> Hi all,
>
> I must use scp in ansible, i know module synchronize, copy but i d'ont find
> the module scp.
> There is junos_scp but i d'ont know how he works :/
>
> Is there a way to transfer files or directories by scp as the command linux
>
I has similar issue with 7750 TiMOS-C-14.0.R5 and Ansible 2.7.0
Upgrade up to 2.7.5 has fixed the issue
Cheers
On Saturday, January 12, 2019 at 7:20:26 PM UTC+11, Ganesh Nalawade wrote:
>
>
> The issue is fixed by PR #49174 and the fix is available in Ansible
> version 2.7.5
> Please retest
Hi all,
I must use scp in ansible, i know module synchronize, copy but i d'ont find
the module scp.
There is junos_scp but i d'ont know how he works :/
Is there a way to transfer files or directories by scp as the command linux
scp -rp
Thanks community ansible !! ;)
Regards,
--
You
On 22.03.19 12:26, Suhail Choudhury wrote:
> Sorry I meant I've tried something like:
>
> group: "{{ (item.group) | default('[]') }}"
>
Try default(omit), that'd just not set the parameter if item.group isn't
defined.
- Sebastian
> but no joy as Ansible throws the error that "Group "" does
Sorry I meant I've tried something like:
group: "{{ (item.group) | default('[]') }}"
but no joy as Ansible throws the error that "Group "" does not exist".
If I try
group: "{{item.group if item.group is defined else item.username }}"
then Ansible fails with the group does not exist.
Whereas
I do not have ADFS in between.
Thanks,
On Wednesday, March 20, 2019 at 4:33:15 AM UTC-4, Ankit wrote:
>
> Do you have ADFS in between? This module can't handle ADFS.
>
> *Regards,*
> *Ankit*
>
>
> On Wed, Mar 20, 2019 at 1:02 AM Beau Gauthreaux > wrote:
>
>> I'm trying to gather change record
Hi,
I want to fetch the custom controller remote directory and create it if
required, I used the remote_tmp in my ansible.cfg to set a custom value.
Previously I was using DEFAULT_REMOTE_TMP to get the custom value but I see
a lot has changed after 2.4.0. Is there now a new way to do it?
I
Hi,
Ok thanks,
i will try synchronize module in ansible.
Thank you,
Regards,
Le vendredi 22 mars 2019 09:55:31 UTC+1, Dick Visser a écrit :
>
> If your goal is to have two equal directories, then the synchronize
> module would make sense.
>
> On Fri, 22 Mar 2019 at 09:25, > wrote:
> >
> >
If your goal is to have two equal directories, then the synchronize
module would make sense.
On Fri, 22 Mar 2019 at 09:25, wrote:
>
> Hi Eric,
>
> Yes but the subject is -p since I'm mainly interested in keeping all the
> characteristics of the file ...
> In addition, I know that there is shell
Hi Eric,
Yes but the subject is -p since I'm mainly interested in keeping all the
characteristics of the file ...
In addition, I know that there is shell and command in ansible but I want a
"syntax" ansible. The objective with ansible it is to use its modules
(example: service, get_url, etc
Hi,
in this case verify that
- debug:
var: ec2
works first.
Then try:
- debug:
var: ec2.instances
Afterwards:
- debug:
var: ec2.instances.0
So basically you try to build the path to the value you want. If one
fails, please post the output of the last succeeding debug.
-
On 22/03/19 5:34 AM, gigit1...@gmail.com wrote:
The following playbook worked for me, but I just started with Ansible
and I'm wondering if I went about this wrong? I feel like I may have
missed an easier way to say: do something only after a package has
finished installing ...
tasks: - name:
On 22.03.19 07:51, Alexander B. wrote:> Hello.
> There are two hosts. On first I create a user and generate SSH keys.
Now I
> need to transfer private key to second host to connect using it to first
> host without creating a user on second. I haven't found an output of
> parameter ssh_key as
On Fri, 22 Mar 2019 at 03:30, Jonathan Lozada De La Matta
wrote:
>
> you probably need to do this on your ~/.ssh/config
>
> Host 192.168.1.1 #the IP of the device
> KexAlgorithms +diffie-hellman-group1-sha1
Alternatively, you can configure it in your ansible inventory:
10.192.21.5
Hello.
There are two hosts. On first I create a user and generate SSH keys. Now I
need to transfer private key to second host to connect using it to first
host without creating a user on second. I haven't found an output of
parameter ssh_key as analogg to ssh_public_key in module user. In
49 matches
Mail list logo