mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 09:51:10 +01:00 
			
		
		
		
	upt playbook
This commit is contained in:
		| @@ -119,3 +119,28 @@ | |||||||
|         regexp: "^#AuthorizedKeysCommandUser *" |         regexp: "^#AuthorizedKeysCommandUser *" | ||||||
|         line: "AuthorizedKeysCommandUser root" |         line: "AuthorizedKeysCommandUser root" | ||||||
|          |          | ||||||
|  |     - name: Creating a file with content | ||||||
|  |       copy: | ||||||
|  |         dest: "/etc/ldap/ldap.conf" | ||||||
|  |         content: | | ||||||
|  |           # | ||||||
|  |           # LDAP Defaults | ||||||
|  |           # | ||||||
|  |  | ||||||
|  |           # See ldap.conf(5) for details | ||||||
|  |           # This file should be world readable but not world writable. | ||||||
|  |  | ||||||
|  |           BASE    dc=sectorq,dc=eu | ||||||
|  |           URI     ldap://192.168.77.106:389 | ||||||
|  |  | ||||||
|  |           #SIZELIMIT      12 | ||||||
|  |           #TIMELIMIT      15 | ||||||
|  |           #DEREF          never | ||||||
|  |  | ||||||
|  |           # TLS certificates (needed for GnuTLS) | ||||||
|  |           TLS_CACERT      /etc/ssl/certs/ca-certificates.crt | ||||||
|  |      | ||||||
|  |     - name: Restart sshd service | ||||||
|  |       ansible.builtin.service: | ||||||
|  |         name: sshd.service | ||||||
|  |         state: restarted | ||||||
| @@ -21,6 +21,7 @@ | |||||||
|           - autofs |           - autofs | ||||||
|           - ethtool |           - ethtool | ||||||
|           - python3-pip |           - python3-pip | ||||||
|  |           - telegram-desktop | ||||||
|     - name: Download gpg key for code |     - name: Download gpg key for code | ||||||
|       get_url: |       get_url: | ||||||
|         url: https://packages.microsoft.com/keys/microsoft.asc |         url: https://packages.microsoft.com/keys/microsoft.asc | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee