There is no limitation which task can be run from packer.
Try adding - when you execute from packer and from outside of packer and
compare the results
Regards
Tony Chia
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe
On Fri, 5 Apr 2019 at 06:15, David Baumann wrote:
> Maybe forgot a delegate_to and you execure the module on remote host?
>
I am not executing the module on remote host. It is locally.
This is the yaml file:
---
# Perform PURE Flasharray Database snapshots
- name: perform PURE volume snapshot
That worked, thank you very much !
On Thursday, April 4, 2019 at 10:59:16 AM UTC-5, Henry Iracheta wrote:
>
> I am trying to use Ansible on a remote host that has a version of Python
> 2.4.3 installed. My understanding is that a more recent version of
> Python is required to properly use
Hello,
I’m trying to use Ansible as a provisioner with Packer. I have a playbook
with tasks that:
-create a local directory (win_file)
-download a file from s3 (aws_s3)
-run windows updates (win_updates)
It works fine when I run it manually, but when I run it from Packer
(Ansible
Kerberos is by far the best authentication method to use but unfortunately
that only works for domain accounts. If you need to use local accounts,
CredSSP is ok but you do need to be aware of the unconstrained delegation
of credentials it introduces. In the end if you need to auth with a local
thanks a lot
Le jeu. 4 avr. 2019 à 16:57, Matt Martz a écrit :
> You want:
>
>body_format: json
>body:
> specs:
> - id: "{{ item.0.uuid }}"
> name: "{{ item.2 }}"
>
> On Thu, Apr 4, 2019 at 4:41 AM wrote:
>
>> Here are my body's model
>>
>> {
>> "specs": [
>> {
if you do --ask-pass and --ask-become-password, you only need to enter
it once, the 2nd defaults to the first.
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
''pulp.results.[0].std" is incorrect you have extra .
"pullp.results[0].std" is the correct form
--
--
Brian Coca
--
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,
Hi,
I installed default ansible with 2.7.9 with python 2.6,but for one of
LDAP module's issue, I need ansible 2.7.9 with python3.6 modules. Can you
please guide me how to install the same?
Regards,
Nikhil
On Thursday, April 4, 2019 at 11:28:59 PM UTC+5:30, Toshio Kuratomi wrote:
>
> Hi all-
We use a lot of windows devices. They are installed with the windows
deployment toolkit and after that i want to run ansible playbooks on it to
join domain and some other settings.
Which winrm authentication can we best configure for security.
I think credsp is the best in this solution
Hi,
it could be related to the change from MySQLdb to PyMySQL; see
https://github.com/ansible/ansible/issues/47736 and in particular
https://github.com/ansible/ansible/issues/47736#issuecomment-479745979
I wouldn't be surprised if you have PyMySQL installed on the new
system, and MySQLdb
Hello,
I have an old task that works on an previous system but fail to work in the
new system. I am certain it hasn't changed through git log but I have
updated ansible on control system. I don't see other people raising the
issue so not confident it's a bug. Have anyone observed something
On Thu, Apr 4, 2019 at 1:30 PM Ankit Vashistha wrote:
>
> Can we ban the spammers?
>
What? Doesn't receiving a cold call spamming email on a mailing
list make you want to drop what you are doing and do business with the
spammer's (who does not even use a corporate email account, another
On 04.04.19 17:59, Henry Iracheta wrote:
> Here is an example of the playbook being tested:
>
> - hosts: servers
> remote_user: x
> tasks:
> - name: simply test to confirm playbook works
> raw: /bin/hostname
>
> > Any suggestions on how to work around this issue ?
You
Hi all- we're happy to announce that the general release of Ansible 2.7.10 and
2.6.16 is now available!
How do you get it?
--
$ pip install ansible==2.7.10 --user
or
$ pip install ansible==2.6.16 --user
The tar.gz of the release can be found here:
* 2.7.10
Can we ban the spammers?
On Thu, Apr 4, 2019, 10:07 PM Recruiter Soni
wrote:
> *Hi,*
>
>
>
> *Hope you’re doing well!*
>
> *This is Chintan from Inficare Technologies, please find the job
> description if you are interested for this below job reply to this email
Maybe forgot a delegate_to and you execure the module on remote host?
--
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
Thanks Brian!
--
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
you cannot have a play inside a play, - import_playbook cannot be in a
task section, but easy enough to do what you want:
- import_playbook: /etc/ansible/playbooks/one-offs/update_gitlab_scripts.yml
- hosts: "{{ host}}"
roles:
--
--
Brian Coca
--
You received this message
This doesn't work of course, but shows what I am trying to do. I wish to
call a playbook before a couple of roles. How might I do this?
Doesn't work, but is an explanatory example:
---
- hosts: "{{ host }}"
pre_tasks:
- name: Import gitlab playbook
import_playbook:
*Hi,*
*Hope you’re doing well!*
*This is Chintan from Inficare Technologies, please find the job
description if you are interested for this below job reply to this email ID
chin...@inficaretech.com with your updated
resume and active contact number and
Ansible no longer supports Python 2.4 on target hosts. The last version to
support Python 2.4 was Ansible 2.3.
On Thu, Apr 4, 2019 at 10:59 AM Henry Iracheta wrote:
> I am trying to use Ansible on a remote host that has a version of Python
> 2.4.3 installed. My understanding is that a more
I am trying to use Ansible on a remote host that has a version of Python
2.4.3 installed. My understanding is that a more recent version of
Python is required to properly use Ansible; however, I should be able to
use the "raw" module for such older Python environments. I am able to
successfully
So, the way I've seen the gpg-agent work is that it needs config to enable
ssh-agent compatibility. My config looks like:
default-cache-ttl 60
max-cache-ttl 120
enable-ssh-support
That last line is what enables the auth socket with full compatibility with
the ssh-agent I think.
My bash_profile
You want:
body_format: json
body:
specs:
- id: "{{ item.0.uuid }}"
name: "{{ item.2 }}"
On Thu, Apr 4, 2019 at 4:41 AM wrote:
> Here are my body's model
>
> {
> "specs": [
> {
> "name": "test",
> "id": "7dcf2db8-858e-4c00-bbde-e0c5c734770c"
> }
>
On Wednesday, 3 April 2019 23:41:54 UTC+2, Derek Murawsky wrote:
>
> What does your ~/.gnupg/gpg-agent.conf file?
> https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html
>
> It sounds almost like your auth socket isn't working properly. Meaning the
> agent is being restarted
On Thu, Apr 4, 2019, at 2:18 AM, sergey.mihai...@gmail.com wrote:
> I start playbook : ansible-playbook win_install_ascon.yml --ask-pass
>
> define in playbook:
> ...
> ansible_become_pass: "{{ remote_pass }}"
ansible_become_password: "{{ ansible_password }}"
V/r,
James Cassell
> ...
>
>
Hi All,
I have to create the variable in group vars as below
disk:
- { device: /dev/sdb pvname: /dev/sdb1 }
- { device: /dev/sdc pvname: /dev/sdc1 }
i am getting disks name from job template survey i textarea , while
templating it with below i am getting the error as list cant mapped
Hello Ricardo,
You can not update the version to its latest revision using "state=
latest". State "latest" will update the specified package if it's not of
the latest available version. In your case, it will update your package to
the latest available version which is "my-rpm1-1.3.0-1".
To
Here are my body's model
{
"specs": [
{
"name": "test",
"id": "7dcf2db8-858e-4c00-bbde-e0c5c734770c"
}
]
}
trying to convert this last for uri module
body_format: json
body:
specs:
id: "{{ item.0.uuid }}"
name: "{{ item.2 }}"
how to convert this
ansible task not failed still its passing.
On Thu, Apr 4, 2019 at 2:20 PM Kunalsing Thakur
wrote:
> Hi kai,
> thanks for information.
> i tried below condition
> failed_when: pulp.stdout == "\\e[0m"
> failed_when: pulp.stdout == '\e[0m'
> failed_when: pulp.stdout == "\\e[0m"
>
Hi kai,
thanks for information.
i tried below condition
failed_when: pulp.stdout == "\\e[0m"
failed_when: pulp.stdout == '\e[0m'
failed_when: pulp.stdout == "\\e[0m"
failed_when: pulp.stdout == "\e[0m"
failed_when: "'e[0m' in pulp.stdout"
i tried all stuff but no luck
any new
On 04.04.2019 09:47, Kunalsing Thakur wrote:
- name: Logging into pulp
shell: pulp-admin login -u admin -p admin
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
loop: "{{ rpmname | default([])
- name: Logging into pulp
shell: pulp-admin login -u admin -p admin
- name: searching the rpm into {{ reponame }} repo
shell: pulp-admin rpm repo content rpm --repo-id={{reponame}} --match
'filename={{ item }}'
loop: "{{ rpmname | default([]) }}"
register: pulp
when: search is defined
can you tell me what should be written in role? i am trying to understand
but can't intepret in role.
On Thu, Apr 4, 2019 at 1:06 PM Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 04.04.2019 08:25, Kunalsing Thakur wrote:
> > Hi Brian,
> > I have registered results. i am able
On 04.04.2019 08:25, Kunalsing Thakur wrote:
Hi Brian,
I have registered results. i am able to access the content using
pulp.results.[0].stdout. if nothing is found stdout prints this
"\e[0m".
And i want to compare this string to failed the task using failed_when
condition.
but somehow it
On Thu, 4 Apr 2019 at 19:45, Raghavendra Rao
wrote:
> Make sure you have the respective purestorage python library.
>
I already have it.
[lucas@thanos ~]$ pip list | grep 'purestorage'
purestorage (1.16.0)
>
> Also, set PUREFA_URL and PUREFA_API environment variables if *url* and
>
or is there way we can compare empty string.
On Thursday, April 4, 2019 at 12:30:45 PM UTC+5:30, Kunalsing Thakur wrote:
>
> Hello Team,
> When i was checking for string comparison in failed_when condition.
> the ansible task does not give any output if search is not found. but it
> will
Hello Team,
When i was checking for string comparison in failed_when condition.
the ansible task does not give any output if search is not found. but it
will print stdout variable as stdout: "\e[0m"
But when i try to compare my ansible playbook gives error.
I tried two ways in codition:-
1)
its for windows.
Those are not possible to take one variable from the command line and I
will have to type the same password twice?
четверг, 4 апреля 2019 г., 10:36:58 UTC+4 пользователь Raghavendra Rao
написал:
>
> On Thu, 4 Apr 2019 at 11:49, > wrote:
>
>> I start playbook : ansible-playbook
Make sure you have the respective purestorage python library.
Also, set PUREFA_URL and PUREFA_API environment variables if *url* and
*api_token* arguments are not passed to the module directly.
-R.Rao
On Thu, 4 Apr 2019 at 10:05, Lucas Possamai wrote:
> Hi guys.
>
> When calling a playbook I
is there any example which i refer like this to get sorted out?
On Thu, Apr 4, 2019 at 11:55 AM Kunalsing Thakur
wrote:
> Hi Brian,
> I have registered results. i am able to access the content using
> pulp.results.[0].stdout. if nothing is found stdout prints this "\e[0m".
> And i want to
On Thu, 4 Apr 2019 at 11:49, wrote:
> I start playbook : ansible-playbook win_install_ascon.yml --ask-pass
>
> define in playbook:
> ...
> ansible_become_pass: "{{ remote_pass }}"
> ...
>
> OUT:
> ...
> FAILED! => {"msg": "The field 'become_pass' has an invalid value, which
> includes an
Hi Brian,
I have registered results. i am able to access the content using
pulp.results.[0].stdout. if nothing is found stdout prints this "\e[0m".
And i want to compare this string to failed the task using failed_when
condition.
but somehow it gives me below error.
fatal: [pulp]: FAILED! =>
I start playbook : ansible-playbook win_install_ascon.yml --ask-pass
define in playbook:
...
ansible_become_pass: "{{ remote_pass }}"
...
OUT:
...
FAILED! => {"msg": "The field 'become_pass' has an invalid value, which
includes an undefined variable. The error was: 'remote_pass' is undefined"}
45 matches
Mail list logo