background preloader

Windows

Facebook Twitter

Automating mixed Red Hat Enterprise Linux and Windows Environments. For a system administrator, a perfect world would consist of just one type of server that we needed to support and just one tool to do that work.

Automating mixed Red Hat Enterprise Linux and Windows Environments

Unfortunately, we don’t live in an ideal world. Many system admins are required to manage day to day operations of very different servers with different operating systems. The complexity gets magnified when you start looking for tools to manage these distinct systems. Looking at how to automate these systems could lead you down a path of one automation tool per OS type. But why? Scenario: Managing the web service on RHEL and Windows In this scenario, we have a system administrator that is tired of getting calls from the network operations center (NOC) to stop, start, and even restart Internet Information Services (IIS) web services.

Solution: Red Hat Ansible Automation Platform The solution involves writing a vendor-agnostic playbook to manage both web services. First, let’s take a look at the playbook itself. 9 Exemple de Playbooks Ansible pour l'administration Windows. Je vais vous montrer plusieurs opérations qu'un administrateur peut effectuer sur un système Windows distant en utilisant ansible-playbook.

9 Exemple de Playbooks Ansible pour l'administration Windows

Ansible est l'un des outils DevOps les plus utilisés sur le marché aujourd'hui. How to Connect Ansible on Windows from Ubuntu? Let me quickly show you how to connect the Windows server from Ansible running on Ubuntu.

How to Connect Ansible on Windows from Ubuntu?

To follow the steps below, you need to have python 3.x and Ansible installed on both the system. You can follow the below articles if you need help. Below are the details of both the servers I am using: Ansible Controller – 192.168.0.108Windows Server – 192.168.0.102. Administrer Windows Server avec Ansible. Nous allons voir dans cet article comment installer et configurer RedHat Ansible sous CentOS 7.

Administrer Windows Server avec Ansible

Débutez avec Ansible et gérez vos serveurs Windows. This website use cookies to personalize content, provide custom experiences, target ads, to provide social media features and to analyse our traffic.

Débutez avec Ansible et gérez vos serveurs Windows

We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. Below you have the option of selecting which types of cookies you'll allow to store your personal information. To view the vendor list or change consent settings at any time please visit our privacy policy using the link below.

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies. Cookies are small text files that can be used by websites to make a user's experience more efficient. This site uses different types of cookies.

PowerShell remoting avec WinRM. This website use cookies to personalize content, provide custom experiences, target ads, to provide social media features and to analyse our traffic.

PowerShell remoting avec WinRM

We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. Below you have the option of selecting which types of cookies you'll allow to store your personal information. To view the vendor list or change consent settings at any time please visit our privacy policy using the link below. Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies. Cookies are small text files that can be used by websites to make a user's experience more efficient. This site uses different types of cookies.

Windows Package Management. Welcome to the third installment of our Windows-centric Getting Started Series!

Windows Package Management

In the previous post we covered how you can use Ansible and Ansible Tower to help manage your Active Directory environment. This post will go into how you can configure some of those machines on your domain. Most of this post is going to be dominated by specific modules. Ansible has a plethora of Windows modules that can be found here. As time is not a flat circle, I can’t discuss all of them today but only a few that are widely used. MSIs and the win_package Module So you got your domain up, you have machines added to it, now let’s install some stuff on those machines. Alright, back to installing stuff.

The parameters within the module add a lot of flexibility. Below are a few examples of how you can use the win_package module. Above, we see that the product ID is listed. . - name: Install Remote Desktop Connection Manager locally omitting the product_id win_package: path: C:\temp\rdcman.msi state: present. Active Directory & Ansible Tower. Connecting to a Windows Host. Windows Updates and Ansible. Welcome to the fourth installment of our Windows-centric Getting Started Series!

Windows Updates and Ansible

One of the duties of most IT departments is keeping systems up to date. Windows Support. Gérer ses serveurs Windows avec Ansible. Bonjour à tous, Toujours dans la suite des articles sur Ansible qui commencent à être nombreux, aujourd’hui on va voir comment gérer ses serveurs Windows avec Ansible.

Gérer ses serveurs Windows avec Ansible

Il va falloir faire deux trois manips aussi bien sur les serveurs Windows que sur le serveur Ansible pour que tout ce petit monde veuille bien cohabiter, mais rien d’insurmontable, même pour un pur adminsys windows qui n’a jamais vu un Linux de sa vie (sisi, juré). Installation du serveur Ansible : Suivez la procédure suivante pour installer votre serveur Ansible. Ensuite, installez pip (si vous ne l’avez pas déjà) et winrm pour Python : apt-get install -y python-pip && pip install pywinrm Si vous comptez utiliser des comptes Active Directory pour la maintenance alors, installez les prérequis pour Kerberos : (ndr : Je vous recommande de déployer un compte admin local par GPO plutôt, ça évite tous les problèmes de Kerberos) apt-get install -y python-dev libkrb5-dev krb5-user && pip install kerberos Téléchargez le script suivant :

Débutez avec Ansible et gérez vos serveurs Windows. Débutez avec Ansible et gérez vos serveurs Windows. An Introduction to Windows Security with Ansible. Welcome to another installment of our Windows-centric Getting Started Series!

An Introduction to Windows Security with Ansible

In the prior posts we talked about connecting to Windows machines, gave a brief introduction on using Ansible with Active Directory, and discussed package management options on Windows with Ansible. In this post we’ll talk a little about applying security methodologies and practices in relation to our original topics. The Triad In order to discuss security issues in relation to Ansible and Windows, we’ll be applying concepts from the popular CIA Triad: Confidentiality, Integrity, and Availability. Confidentiality is pretty self-evident — protecting confidentiality helps restrict private data to only authorized users and helps to prevent non-authorized ones from seeing it. Integrity is about making sure that the data is not tampered with or damaged so that it is unusable. Availability is mainly about making data available to those authorized users when they need to access it.

Confidentiality Integrity Availability. Ansible : installation et administrations des serveurs Windows. Ansible est un outil Open Source permettant l’automatisation de tâches. Il permet de gérer la configurations de vos serveurs Linux et Windows. Il travail sans agent, facilitant son déploiement. Administrer des serveurs Windows avec Ansible. AnsibleWindows. Manage Windows like Linux with Ansible.