On 1/21/20 10:09 AM, Sandy Hung wrote:
> Dear All:
> 
> I don't know this error is?
> can hlep me thanks.
> 
> 
> ERROR! conflicting action statements: lineinfile, roles
> 
> The error appears to be in '/home/sandy/phpldapadmin.yml': line 54, column 6, 
> but may
> be elsewhere in the file depending on the exact syntax problem.
> 
> The offending line appears to be:
> 
> 
>    - name: Force certbot to use Python3
>      ^ here
> 
> 
> 
>    - name: Force certbot to use Python3
>      lineinfile:
>         path: '{{ item }}'
>         regexp: '^#!/usr/bin/python$'
>         line: '#!/usr/bin/python3'
>      with_items:
>         - /usr/local/bin/certbot
>         - /user/bin/certbot
>      ignore_errors: yes
>      failed_when: no

Please show your complete playbook, especially the part where "roles" appears.

Regards
          Racke

> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2b8e28c9-bd13-44eb-83a2-f55b27aeb97c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2b8e28c9-bd13-44eb-83a2-f55b27aeb97c%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
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/73565547-ffe8-760f-4bb7-7e135b73df98%40linuxia.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to