Evolution of deployment
This commit is contained in:
		@@ -94,16 +94,12 @@
 | 
			
		||||
      mode: 0644
 | 
			
		||||
    when: ansible_os_family == "Archlinux"
 | 
			
		||||
 | 
			
		||||
  - name: Generate mirrorlist
 | 
			
		||||
    delegate_to: localhost
 | 
			
		||||
    run_once: yes
 | 
			
		||||
    command: "bash ../bin/generate-mirrorlist"
 | 
			
		||||
 | 
			
		||||
  - name: Copy mirrorlist
 | 
			
		||||
  - name: Set mirror
 | 
			
		||||
    become: yes
 | 
			
		||||
    when: ansible_os_family == "Archlinux"
 | 
			
		||||
    copy:
 | 
			
		||||
      src: mirrorlist
 | 
			
		||||
      content: |
 | 
			
		||||
        Server = {{ mirroruri }}
 | 
			
		||||
      dest: /etc/pacman.d/mirrorlist.shadowarch
 | 
			
		||||
      owner: root
 | 
			
		||||
      group: root
 | 
			
		||||
@@ -160,7 +156,7 @@
 | 
			
		||||
    become: yes
 | 
			
		||||
    command:
 | 
			
		||||
      chdir: '/opt/aninix/ShadowArch'
 | 
			
		||||
      cmd: '/bin/bash -c "make install; /usr/local/sbin/shadowarch-sync"'
 | 
			
		||||
      cmd: '/bin/bash -c "make install"'
 | 
			
		||||
    when: ansible_os_family != "Archlinux"
 | 
			
		||||
 | 
			
		||||
  - name: Set up hostname
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user