mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2021-12-01 19:13
This commit is contained in:
		
							
								
								
									
										40
									
								
								roles/mkdir/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								roles/mkdir/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| --- | ||||
|  | ||||
| - name: Create filebeat snippet direcories | ||||
|   file: path=/etc/filebeat/ansible_{{ item }}.d state=directory | ||||
|   loop: | ||||
|     - inputs | ||||
|     - modules | ||||
|   tags: log,mkdir | ||||
|  | ||||
| - name: Create journald directory | ||||
|   file: path=/var/log/journal state=directory | ||||
|   notify: restart journald | ||||
|   when: ansible_service_mgr == 'systemd' | ||||
|   tags: log,mkdir | ||||
|  | ||||
| - name: Create systemd config dir | ||||
|   file: path=/etc/systemd/system state=directory | ||||
|   tags: conf,mkdir | ||||
|  | ||||
| - name: Create local SELinux policy directory | ||||
|   file: path=/etc/selinux/targeted/local state=directory | ||||
|   when: ansible_selinux.status == 'enabled' | ||||
|   tags: selinux,mkdir | ||||
|  | ||||
| - name: Create pre/post backup directories | ||||
|   file: path=/etc/backup/{{ item }}.d state=directory | ||||
|   loop: | ||||
|     - pre | ||||
|     - post | ||||
|   tags: backup,mkdir | ||||
|  | ||||
| - name: Create dehydrated hook directories | ||||
|   file: path=/etc/dehydrated/{{ item }}.d state=directory | ||||
|   loop: | ||||
|     - hooks_deploy_cert | ||||
|   tags: ssl,web,mkdir | ||||
|  | ||||
| - name: Create bash_completion dir | ||||
|   file: path=/etc/bash_completion.d state=directory | ||||
|   tags: mkdir | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud