Kai Stian Olstad
unread,Nov 20, 2018, 3:15:46 AM11/20/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
On 20.11.2018 08:10, Vamsi Krishna wrote:
> HI All,
>
> I am developing below play for patching but stuck with local action
> copy
> content module. Please let me know what I am missing here
>
> Code:-
> ---
> - hosts: "{{ host }}"
> become: yes
> become_method: sudo
> tasks:
> - name: Running prepatch info commands
> shell: |
> echo -e "\nuname -a"
> echo "========"
> uname -a
> echo -e "\nrunlevel"
> echo "========"
> runlevel
> register: prepatch
register: is indentation to little, you need to move it two spaces to
the right so is align with name: and shell:
--
Kai Stian Olstad