mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	sysd-netd-debian - split unmask/enable and restart
This commit is contained in:
		
							parent
							
								
									784d89d3a9
								
							
						
					
					
						commit
						9ee93d7e01
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -1,4 +1,10 @@ | |||
| # sysd-netd-debian.yml | ||||
| - name: Unmask and enable the systemd-networkd service | ||||
|   systemd: | ||||
|     name: systemd-networkd | ||||
|     enabled: yes | ||||
|     masked: no | ||||
| 
 | ||||
| - name: Copy the bridge script - Creates br0 | ||||
|   template: | ||||
|     dest: /etc/systemd/network/IIAB-Bridge.netdev | ||||
|  | @ -54,8 +60,6 @@ | |||
| - name: Restart the systemd-networkd service | ||||
|   systemd: | ||||
|     name: systemd-networkd | ||||
|     enabled: yes | ||||
|     masked: no | ||||
|     state: restarted | ||||
|   #when: (netplan.stdout is undefined or netplan.stdout.find("yaml") == -1) and not no_net_restart | ||||
|   when: not no_net_restart | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue