I'm wondering whether or not its possible to pass variables defined by
'vars_prompt' from one playbook to another when that other playbook is
properly referenced in the first playbook. In other programming languages,
this would be the equivalent of passing function arguments when the
functions
I have a question about the 'networks' parameter for the VMWare cloud
module. How do the options in this particular parameter get passed to the
operating system during the initial deployment or setup process? With the
virtual machine NIC settings for any ESXi instance, there is no place to
defi
I don't think you can technically do that from the current list of
available
modules:
http://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html
I popped an earlier question about how ESXi transfers IP address settings
but no one got back to me. Some of the network settings appl
stand why the authors added that as it's confusing, but maybe it's
strictly for setting up a new ESXi instance.
On Friday, April 27, 2018 at 12:51:16 PM UTC-4, Sebastien Desbois wrote:
>
> Hello,
>
> Can you precise which module you are using exactly?
>
>
> Le vendre
Hi,
I'm trying to run the following nested bash command: rm $( locate somefile
) but Ansible is kicking back an error asking me to use "state=absent"
instead. How do I execute this while I'm searching for the potential
location of "somefile" at the same time? And is this the correct location
f
value from
> http://docs.ansible.com/ansible/latest/find_module.html and then set the
> file state to absent.
>
>
> On Tue, Aug 15, 2017 at 10:13 AM, EspressoBeanies > wrote:
>
>> Hi,
>>
>> I'm trying to run the following nested bash command: rm $( loc
Whoops, posted too soon.
On Tuesday, August 15, 2017 at 11:55:04 AM UTC-4, EspressoBeanies wrote:
>
> Hi Andrew,
>
> Thanks for the reply. I'm unfamiliar with how to reference the return
> value syntax. Would it be something like this?
>
> ---
> tasks:
> - name: S
So, something like this?
tasks:
> - name: Search files
> - find:
> files: "somefile"
> results: $ARG1
> - name: Remove file
> file: $ARG1 state=absent
On Tuesday, August 15, 2017 at 11:56:06 AM UTC-4, EspressoBeanies wrote:
>
> Whoops, posted t
quot;file"
> register: find_result
>
> - name: remove found files
> file:
> path: "{{ item.path }}"
> state: absent
> with_items: "{{ find_result.files }}"
> '''
>
>
> On Tue, Aug 15, 2017 at 10:59 AM, EspressoBeanies
Is it possible to modify local files while targeting a remote system in an
Ansible YAML file? I'm trying to run an Ansible script on a remote machine,
but when everything finishes on that remote machine, I'd like to move that
hostname from one Ansible hosts file to another. Is it possible and if
Thanks Kai
On Tuesday, November 7, 2017 at 2:19:48 PM UTC-5, Kai Stian Olstad wrote:
>
> On 07. nov. 2017 20:12, EspressoBeanies wrote:
> > Is it possible to modify local files while targeting a remote system in
> an
> > Ansible YAML file? I'm trying to run an
What's the best way to use Ansible to manage software updates where
installer config files have the potential to overwrite the config settings
you currently have in place? I'm trying to see if there's a way for Ansible
to apply software upgrades on all my *NIX machines but notify me when it
run
John, you can do all instances via the replace command or the last instance
from the lineinfile command.
On Thursday, November 8, 2018 at 11:14:20 AM UTC-5, John Harmon wrote:
>
> bump
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To u
I'm trying to use Ansible to add several lines of text after a specific
line in a config file using the replace module and for whatever reason when
I run the playbook, I get back OK responses instead of CHANGED. Below is
the following line in the config file:
check_interval 24x7
I'd like to setup an HTTP server on a Docker image to serve as a platform
for PXE booting and I don't see a clear way for Ansible to be able to
execute a Dockerfile on a local Docker instance to spawn an HTTP server. I
don't know if it'd be effective to continuously build and destroy a docker
i
>From seeing the available Docker modules, I'd say you can build Docker
images, I'm just not sure if you can use Ansible to execute Dockerfiles.
The documentation would say so, but it's a bit unclear as to how to achieve
this. Not enough good examples.
On Wednesday, August 22, 2018 at 1:14:35 P
Maybe this
works:
https://docs.ansible.com/ansible-container/migrating.html#migrating-from-a-dockerfile
--
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 ansi
17 matches
Mail list logo