I am trying to install a debian pacakge and change the user with 
become_user but it seems not working, the error it says that "No package is 
available" but it is available

  - name: Install rules
    apt:
      name:-rules={{ rules_version }}
      state: present
    become: true
    become_method: sudo
    become_user: user

Does anyone know if this is possible?

Thanks!

-- 
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/67548ac7-ed55-42ac-87ba-851fdc676f65n%40googlegroups.com.

Reply via email to