Gobierno, CCAA y Ayuntamientos