mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-30 18:31:28 +01:00 
			
		
		
		
	Update to 2021-12-01 19:13
This commit is contained in:
		
							
								
								
									
										13
									
								
								roles/common/templates/bash_aliases.sh.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								roles/common/templates/bash_aliases.sh.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| #!/bin/bash -e | ||||
|  | ||||
| # {{ ansible_managed }} | ||||
|  | ||||
| export LS_OPTIONS='--color=auto' | ||||
| eval "`dircolors`" | ||||
|  | ||||
| {% for alias in system_bash_aliases.keys() | list %} | ||||
| alias {{ alias }}='{{ system_bash_aliases[alias] }}' | ||||
| {% endfor %} | ||||
| {% if not system_tailf.stat.exists %} | ||||
| alias tailf='tail -f' | ||||
| {% endif %} | ||||
							
								
								
									
										7
									
								
								roles/common/templates/journal-upload.conf.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								roles/common/templates/journal-upload.conf.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| [Upload] | ||||
| {% if system_journal_remote_uri is defined and system_journal_remote_uri | regex_search('^https?://') %} | ||||
| URL={{ system_journal_remote_uri }} | ||||
| {% if ansible_os_family == 'RedHat' %} | ||||
| TrustedCertificateFile=/etc/pki/tls/cert.pem | ||||
| {% endif %} | ||||
| {% endif %} | ||||
							
								
								
									
										4
									
								
								roles/common/templates/journald.conf.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								roles/common/templates/journald.conf.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| [Journal] | ||||
| SystemMaxFileSize=100M | ||||
| SystemMaxUse={{ system_journal_max_use }} | ||||
| SystemKeepFree={{ system_journal_keep_free }} | ||||
							
								
								
									
										15
									
								
								roles/common/templates/rc-local-shutdown.service.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								roles/common/templates/rc-local-shutdown.service.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| [Unit] | ||||
| Description=/etc/rc.d/rc.local.shutdown compatibility | ||||
| ConditionFileIsExecutable=/etc/rc.d/rc.local.shutdown | ||||
| DefaultDependencies=no | ||||
| After=rc-local.service basic.target | ||||
| Before=shutdown.target | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStart=/etc/rc.d/rc.local.shutdown | ||||
| StandardInput=tty | ||||
| RemainAfterExit=yes | ||||
|  | ||||
| [Install] | ||||
| WantedBy=shutdown.target | ||||
							
								
								
									
										9
									
								
								roles/common/templates/rc.local.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								roles/common/templates/rc.local.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| # {{ ansible_managed }} | ||||
|  | ||||
| {% for cmd in system_rc_local_cmd %} | ||||
| {{ cmd }} | ||||
| {% endfor %} | ||||
|  | ||||
| exit 0 | ||||
							
								
								
									
										9
									
								
								roles/common/templates/rc.local.shutdown.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								roles/common/templates/rc.local.shutdown.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| # {{ ansible_managed }} | ||||
|  | ||||
| {% for cmd in system_rc_local_shutdown_cmd %} | ||||
| {{ cmd }} | ||||
| {% endfor %} | ||||
|  | ||||
| exit 0 | ||||
							
								
								
									
										22
									
								
								roles/common/templates/systemd-journal-upload.service.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								roles/common/templates/systemd-journal-upload.service.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| [Unit] | ||||
| Description=Journal Remote Upload Service | ||||
| After=network.target | ||||
|  | ||||
| [Service] | ||||
| ExecStart=/lib/systemd/systemd-journal-upload \ | ||||
|           --save-state | ||||
| User=systemd-journal-upload | ||||
| PrivateTmp=yes | ||||
| PrivateDevices=yes | ||||
| WatchdogSec=20min | ||||
| Restart=always | ||||
| RestartSec=10min | ||||
| TimeoutStopSec=10 | ||||
|  | ||||
| # If there are many split up journal files we need a lot of fds to | ||||
| # access them all and combine | ||||
| LimitNOFILE=16384 | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud