I should mention that I can do
command: overlayroot-chroot apt-get install {{ package }}
However I would like to use Ansible's apt:
On Friday, 20 October 2017 13:44:24 UTC+8, Sam Thomas wrote:
>
> Hi everyone,
>
> I am using Ubuntu's overlayroot to protect the filesystem from power loss
> events
On 19.10.2017 21:28, Zimidar Boy wrote:
"command": "ssh \"hurry-up-1\"",
"creates": null,
"echo": false,
"removes": null,
"responses": {
"(?i)root": "tar cvf \"$HOSTNAME\"_`date
+\"%Y-%m-%d_%H.%M.%S\"`.tar test\nexit\n"
Hi All,
i have a below inventory file
[ansible]
parv-vm-01 ansible_ssh_host=10.48.21.99 host_fqdn=parv-vm-01
[cloudera_mysql]
parv-vm-02 ansible_ssh_host=10.48.21.94 host_fqdn=parv-vm-02
[cloudera_manager]
[cloudera_data]
parv-vm-06 ansible_ssh_host=10.48.21.85 host_fqdn=parv-vm-06
parv-vm-07
Hola buenas,
¿por que se dan estas incongruencias al usar variables en el modulo copy en
su argumento dest.?
---
- hosts: localhost
vars:
PathLs: /etc/ansible/
Folder: /ansible/
tasks:
- name: Ejecuta script
script: "{{ PathLs }}ls.sh -al"
register: Log_Step1
Kai,
Thanks for the help! This works beautifully.
On Friday, October 20, 2017 at 1:46:48 AM UTC-4, Kai Stian Olstad wrote:
>
> On 20. okt. 2017 06:08, Ken Jenney wrote:
> > I use a script to find an available IP on my network and then assign
> that
> > IP to a system. The system is up and runn
On Thursday, October 19, 2017 at 3:11:17 PM UTC+2, Toshio Kuratomi wrote:
>
>
> Cache invalidation is one of programming's harder problems. So, solve the
> git version problem but ignore the urge to cache your results for now.
>
> -toshio
>
That's true, and ansible is already caching a good dea
On Fri, Oct 20, 2017 at 8:57 AM, wrote:
> Hola buenas,
>
> ¿por que se dan estas incongruencias al usar variables en el modulo copy en
> su argumento dest.?
>
>
> ---
> - hosts: localhost
> vars:
> PathLs: /etc/ansible/
> Folder: /ansible/
>
> tasks:
> - name: Ejecuta script
>
*check 1: *with and without quotes are the same
---
- hosts: localhost
vars:
PathLs: /etc/ansible/
Folder: /ansible/
tasks:
- name: curiosidad con comillas
debug:
msg: "{{ PathLs }}logls.txt"
- name: curiosidad igual
debug:
msg: esto es sin comillas {
Si usas {{ inmediatamente después de : , necesitas comillas o YAML
asume que es un diccionario.
valido:
msg: "{{variable}}"
invalido:
msg: {{variable}}
No requiere comillas si { no esta tras :
valido:
msg: Hola {{persona}}
invalido:
msg: {{saludo}} Jose
Estos son requerimientos de YAM
Did you check the link I gave you in my reply?
On Fri, Oct 20, 2017 at 9:59 AM, wrote:
> check 1: with and without quotes are the same
>
> ---
> - hosts: localhost
> vars:
> PathLs: /etc/ansible/
> Folder: /ansible/
> tasks:
>- name: curiosidad con comillas
> debug:
>
Hello Group,
New to Ansible and the Project, but like what I see so far!
I am running Ansible 2.4.0 on RHEL7.4. I have SSH keys setup on several
hosts and can connect to the remote hosts using the SSH Key Pair from my
Ansible Control node and not be prompted for passwords, all as the root
use
I have the following, which works, but it just got me wondering if this can
be concatenated or be written in a more graceful way? By that, I don't mean
*getent:
database=passwd, key=nagios*
- name: Check for nagios installation
getent:
database: passwd
key: nagios
ignore_errors: ye
I'm currently assessing various configuration management systems for
managing mostly Windows machines. I'm liking the look of Ansible so far,
but I am concerned I have a fairly major blocker. I need the chosen system
to be able to manage nodes that are both on a local network (which is fine)
an
`Thank you for help...I was able to figure out...
On Sat, Oct 21, 2017 at 9:45 AM, wrote:
>
>
> On Thursday, October 19, 2017 at 1:39:45 PM UTC+5:30, mcso...@redhat.com
> wrote:
>>
>> This looks like you are trying to create overlapping partitions. I have
>> not tried it, but to me looks like yo
[root@ggnmaster2 jenkins]# ls
hosts site.yml
[root@ggnmaster2 jenkins]# more site.yml
---
- hosts: jenkins_hosts
roles:
- geerlingguy.apache
#- { role: "geerlingguy.apache" }
[root@ggnmaster2 jenkins]# vi site.yml
[root@ggnmaster2 jenkins]# ansible-playbook site.yml
ERROR! Syntax Error while loadi
15 matches
Mail list logo