Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Set the timezone
- shell: echo "America/Manaus" | tee /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
- - name: Set locale
- shell: locale-gen pt_BR.UTF-8
- - name: Define locale
- shell: echo 'LC_ALL="pt_BR.UTF-8"' > /etc/default/locale
- #Password 123456
- - name: Add user ghost
- user: name=ghost group=root password=$6$rounds=656000$YikcDgDgNFSqpWaa$htE7Z0WFUQkH31FApI/NbEE2rj.WmjQc.mM1LsVxyzrBfVkOWMwupDGGwUce1wOog/bHSrLTBQ0TZNFhn40An1
- - name: Add ghost user to sudoers
- lineinfile: dest=/etc/sudoers
- regexp="ghost} ALL"
- line="ghost ALL=(ALL) ALL"
- state=present
- - name: Install latest unzip
- apt: name=unzip state=latest update_cache=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement