Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
root.yml 390 B
Newer Older
  • Learn to ignore specific revisions
  • Freezed's avatar
    Freezed committed
    ---
    
    
    - name: ROOT | dotfiles
    
    Freezed's avatar
    Freezed committed
      become: no
      ansible.builtin.copy:
        src: "{{ item }}"
        dest: "/root/.{{ item | basename }}"
        mode: 0640
        owner: root
        group: root
      with_fileglob:
        files/dotfiles/*
      loop_control:
        label: "{{ item | basename }}"
    
    
    - name: ROOT | set zsh for shell
    
    Freezed's avatar
    Freezed committed
      become: no
      ansible.builtin.user:
        name: root
        shell: /bin/zsh
        state: present