Hello,

no idea. Could you please run the playbook with more verbosity?

Luca

On Fri, Jun 26, 2020 at 5:02 AM Sureenart Kietsaroch <
[email protected]> wrote:

> Hi Luca,
>
>
>
> This is my full playbook as below.
>
> This case error occurred after I use ansible version 2.9.10  before use
> ansible version 2.9.4 it’s work as properly.
>
>
>
> - hosts: "{{ server }}"
>
>   gather_facts: yes
>
>   tasks:
>
>    - name: SetFact
>
>      set_fact:
>
>         jenkins_ip: "{{
> hostvars['server_hostname']['ansible_default_ipv4']['address'] }}"
>
>
>
>    - name: sync db script to server
>
>      synchronize:
>
>        src: “/home/test”
>
>        dest: "/home/test"
>
>        rsync_opts:
>
>            - "--verbose"
>
>            - "--progress"
>
>            - "--stats"
>
>        mode: push
>
>        recursive: yes
>
>      delegate_to: "{{ jenkins_ip }}"
>
>
>
> *ERROR*
>
>
>
> fatal: [server]: FAILED! => {"msg": "'foreman' is undefined"}
>
>
>
> *Remark:  *Inventory from satellite, We not used foreman parameter
> anymore but error shown foreman is undefined.
>
>
>
> Thanks,
>
>
>
> Mie
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Luca 'remix_tj'
> Lorenzetto
> *Sent:* Thursday, June 25, 2020 6:28 PM
> *To:* [email protected]
> *Subject:* Re: [ansible-project] [AWX tower] Error when use synchronize
> which inventory from satellite6
>
>
>
> Hello,
>
>
>
> I don't understand at all your request.
>
>
>
> Please post the full playbook since the task you've reported is not using
> any foreman variable.
>
>
>
> Luca
>
>
>
> On Thu, Jun 25, 2020 at 9:13 AM Sureenart Kietsaroch <
> [email protected]> wrote:
>
> Hi All,
>
>
>
> Could you advice when use synchronize which inventory from satellite6 ?
>
> I found error shown as below picture.
>
>
>
>    - name: sync  script to server for '{{ folder_db }}'
>      synchronize:
>        src: '{{ script_dir }}'
>        dest: '{{ work_dir }}'
>        rsync_opts:
>            - "--verbose"
>            - "--progress"
>            - "--stats"
>        mode: push
>        recursive: yes
>      delegate_to: 10.x.x.x
>
>
>
>
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/5341f4774b665b195bf910d0bc28ca75%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/5341f4774b665b195bf910d0bc28ca75%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>
> --
>
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> [email protected]>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAKuX69rvyJxsTTxQw_YBvY%2Bf6CUBYsDPMv0dNujWG9mPGzhDWw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAKuX69rvyJxsTTxQw_YBvY%2Bf6CUBYsDPMv0dNujWG9mPGzhDWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
[email protected]>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKuX69qdtV4iLFeY1oNM%3D3BMt81WWC1VhB2FegaeC%2BNBSwefiA%40mail.gmail.com.

Reply via email to